Class: ActiveSerializer::Support::FakeObject
- Inherits:
-
Object
- Object
- ActiveSerializer::Support::FakeObject
- Defined in:
- lib/active_serializer/support/fake_object.rb
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *args, &block) ⇒ Object
4 5 6 |
# File 'lib/active_serializer/support/fake_object.rb', line 4 def method_missing(method_name, *args, &block) self.class.new end |