Class: Hash

Inherits:
Object
  • Object
show all
Defined in:
lib/bot_nyan/base.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object



290
291
292
# File 'lib/bot_nyan/base.rb', line 290

def method_missing(name, *args)
  self[name.to_s]
end