Module: EagerEye
- Defined in:
- lib/eager_eye.rb,
lib/eager_eye/cli.rb,
lib/eager_eye/issue.rb,
lib/eager_eye/railtie.rb,
lib/eager_eye/version.rb,
lib/eager_eye/analyzer.rb,
lib/eager_eye/configuration.rb,
lib/eager_eye/detectors/base.rb,
lib/eager_eye/reporters/base.rb,
lib/eager_eye/reporters/json.rb,
lib/eager_eye/reporters/console.rb,
lib/eager_eye/detectors/loop_association.rb,
lib/eager_eye/detectors/serializer_nesting.rb,
lib/eager_eye/generators/install_generator.rb,
lib/eager_eye/detectors/custom_method_query.rb,
lib/eager_eye/detectors/missing_counter_cache.rb
Defined Under Namespace
Modules: Detectors, Generators, Reporters
Classes: Analyzer, CLI, Configuration, Error, Issue, Railtie
Constant Summary
collapse
- VERSION =
"0.2.3"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
21
22
23
|
# File 'lib/eager_eye.rb', line 21
def configuration
@configuration ||= Configuration.new
end
|
25
26
27
|
# File 'lib/eager_eye.rb', line 25
def configure
yield(configuration)
end
|
.reset_configuration! ⇒ Object
29
30
31
|
# File 'lib/eager_eye.rb', line 29
def reset_configuration!
@configuration = Configuration.new
end
|