class OptParsePlus::OptionsFound

Attributes

command_found[RW]

Public Instance Methods

[](key) click to toggle source

Let these options be queried by a string key or symbol key equally.

Calls superclass method
# File lib/opt_parse_plus.rb, line 12
def [](key)
  super ||
    (key.is_a?(Symbol) && super(key.to_s)) ||
    (key.is_a?(String) && super(key.to_sym))
end