class Commander::Command::Options
def __hash__
def __hash__ @table end
def default(defaults = {})
def default(defaults = {}) @table = defaults.merge! @table end
def initialize
def initialize @table = {} end
def inspect
def inspect "<Commander::Command::Options #{ __hash__.map { |k, v| "#{k}=#{v.inspect}" }.join(', ') }>" end
def method_missing(meth, *args)
def method_missing(meth, *args) meth.to_s =~ /=$/ ? @table[meth.to_s.chop.to_sym] = args.first : @table[meth] end