Class: Specifier::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/specifier/runner.rb

Instance Method Summary collapse

Constructor Details

#initialize(paths:) ⇒ Runner

Returns a new instance of Runner.



3
4
5
# File 'lib/specifier/runner.rb', line 3

def initialize(paths:)
  @paths = paths
end

Instance Method Details

#runObject



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

def run
  @paths.each do |path|
    load path
  end
  Specifier.formatter.summarize
end