Module: Actorize::InstanceMethods
- Defined in:
- lib/revactor/actorize.rb
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args, &block) ⇒ Object
63
64
65
66
|
# File 'lib/revactor/actorize.rb', line 63
def method_missing(*args, &block)
return super unless @_class.respond_to?(:call)
@_class.call(self, *args, &block)
end
|
Instance Method Details
#inspect ⇒ Object
72
73
74
|
# File 'lib/revactor/actorize.rb', line 72
def inspect
"#<#{self.class}(#{remote_class}):0x#{object_id.to_s(16)}>"
end
|
#remote_class ⇒ Object
68
69
70
|
# File 'lib/revactor/actorize.rb', line 68
def remote_class
@_class
end
|