Class: Sanky::PathFinder::Options

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argv) ⇒ Options

Returns a new instance of Options.



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

def initialize(argv)
  parse(argv)
  @arguments = argv
end

Instance Attribute Details

#argumentsObject (readonly)

Returns the value of attribute arguments.



6
7
8
# File 'lib/sanky/pathfinder/options.rb', line 6

def arguments
  @arguments
end