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
Instance Public methods
[](k)
Link
Return the value of an attribute
Source: show
# File lib/gli/options.rb, line 9 def[](k) self.send(k.to_sym) end