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/comment_parser.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/callback_query.rb,
lib/eager_eye/detectors/pluck_to_array.rb,
lib/eager_eye/detectors/loop_association.rb,
lib/eager_eye/detectors/count_in_iteration.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, CommentParser, Configuration, Error, Issue, Railtie

Constant Summary collapse

VERSION =
"0.6.0"

Class Method Summary collapse

Class Method Details

.configurationObject



25
26
27
# File 'lib/eager_eye.rb', line 25

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



29
30
31
# File 'lib/eager_eye.rb', line 29

def configure
  yield(configuration)
end

.reset_configuration!Object



33
34
35
# File 'lib/eager_eye.rb', line 33

def reset_configuration!
  @configuration = Configuration.new
end