Subclass of OpenStruct that provides hash-like methods for [] and []=. Note that is is not a Hash. By using GLI::App#use_openstruct, your options will be coerced into one of these.

Methods
#
M
Instance Public methods
[](k)

Return the value of an attribute

# File lib/gli/options.rb, line 9
def[](k)
  self.send(k.to_sym)
end
[]=(k, v)

Set the value of an attribute

# File lib/gli/options.rb, line 14
def[]=(k, v)
  self.send("#{k.to_sym}=",v)
end
map(&block)
# File lib/gli/options.rb, line 18
def map(&block)
  @table.map(&block)
end