Module: Torque::PostgreSQL::Attributes::ClassMethods
- Defined in:
- lib/torque/postgresql/attributes.rb
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *args, &block) ⇒ Object (private)
If the attributes are not loaded,
24 25 26 27 |
# File 'lib/torque/postgresql/attributes.rb', line 24 def method_missing(method_name, *args, &block) return super unless define_attribute_methods self.send(method_name, *args, &block) end |