Class: MicroQ::Proxy::Instance
- Defined in:
- lib/micro_q/proxies/instance.rb
Instance Attribute Summary
Attributes inherited from Base
#args, #at, #errors, #klass, #method
Instance Method Summary collapse
Methods inherited from Base
#initialize, #method_missing, #valid?
Constructor Details
This class inherits a constructor from MicroQ::Proxy::Base
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MicroQ::Proxy::Base
Instance Method Details
#respond_to?(method) ⇒ Boolean
4 5 6 |
# File 'lib/micro_q/proxies/instance.rb', line 4 def respond_to?(method) super || klass.new.respond_to?(method) end |