Class: GLI::Options

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/gli/options.rb

Instance Method Summary collapse

Instance Method Details

#[](k) ⇒ Object



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

def[](k)
  @table[k.to_sym]
end

#[]=(k, v) ⇒ Object



10
11
12
# File 'lib/gli/options.rb', line 10

def[]=(k, v)
  @table[k.to_sym] = v
end