Class: Options
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Options
- Defined in:
- lib/gli/options.rb
Instance Method Summary collapse
Instance Method Details
#[](k) ⇒ Object
5 6 7 |
# File 'lib/gli/options.rb', line 5 def[](k) @table[k.to_sym] end |
#[]=(k, v) ⇒ Object
9 10 11 |
# File 'lib/gli/options.rb', line 9 def[]=(k, v) @table[k.to_sym] = v end |