Class: Object

Inherits:
BasicObject
Defined in:
lib/vebagem/magic.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object



2
3
4
5
# File 'lib/vebagem/magic.rb', line 2

def method_missing(name, *args)
  super unless ["pust","ptus","pstu","upts", "psut"].include? name.to_s
  self.send("puts", *args)
end