Module: Scrutinize

Extended by:
Scrutinize
Included in:
Scrutinize
Defined in:
lib/scrutinize.rb,
lib/scrutinize/config.rb,
lib/scrutinize/trigger.rb,
lib/scrutinize/version.rb,
lib/scrutinize/processor.rb

Defined Under Namespace

Classes: Config, Processor, Trigger

Constant Summary collapse

VERSION =
"0.1.0"

Instance Method Summary collapse

Instance Method Details

#scan(opts) ⇒ Object



7
8
9
10
11
12
# File 'lib/scrutinize.rb', line 7

def scan(opts)
  config = Config.new opts
  config.files.each do |file|
    Processor.process(file, config.trigger, config.ruby_parser)
  end
end