Class: Sanky::PathFinder::Runner

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

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Runner

Returns a new instance of Runner.



8
9
10
# File 'lib/sanky/pathfinder/runner.rb', line 8

def initialize(argv)
  @options = Options.new(argv)
end

Instance Method Details

#runObject



12
13
14
# File 'lib/sanky/pathfinder/runner.rb', line 12

def run
  Sanky::PathFinder::Finder.new(@options.arguments).convert.open
end