Module: HW::Base::ClassMethods
- Defined in:
- lib/hw/base.rb
Instance Method Summary collapse
Instance Method Details
#reserved?(arg) ⇒ Boolean
33 34 35 36 |
# File 'lib/hw/base.rb', line 33 def reserved?(arg) arg = arg.first if arg.kind_of?(Array) Thor::THOR_RESERVED_WORDS.include?(arg) or Thor::HELP_MAPPINGS.include?(arg) end |