Method: Cmtool::Menu::ElementBase#method_missing
- Defined in:
- lib/cmtool/menu.rb
#method_missing(*args) ⇒ Object
46 47 48 49 50 |
# File 'lib/cmtool/menu.rb', line 46 def method_missing(*args) return true if self.class.name.sub(/.*::/, '').underscore.concat("?") == args.first.to_s return false if args.first.to_s.last == '?' @register.send(*args) end |