Class: ODM::Classes

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

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ Classes

Returns a new instance of Classes.



54
55
56
# File 'lib/odm.rb', line 54

def initialize &block
  block.call(self)
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(*args) ⇒ Object



50
51
52
# File 'lib/odm.rb', line 50

def method_missing *args
  return nil
end