Class: Sanky::PathFinder::Options
- Inherits:
-
Object
- Object
- Sanky::PathFinder::Options
- Defined in:
- lib/sanky/pathfinder/options.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
Instance Method Summary collapse
-
#initialize(argv) ⇒ Options
constructor
A new instance of Options.
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
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
6 7 8 |
# File 'lib/sanky/pathfinder/options.rb', line 6 def arguments @arguments end |