Class: GH::Parallel::Dummy
- Inherits:
- BasicObject
- Defined in:
- lib/gh/parallel.rb
Instance Attribute Summary collapse
-
#__delegate__ ⇒ Object
Returns the value of attribute __delegate__.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(*args) ⇒ Object
14 15 16 17 |
# File 'lib/gh/parallel.rb', line 14 def method_missing(*args) ::Kernel.raise ::RuntimeError, 'response not yet loaded' if __delegate__.nil? __delegate__.__send__(*args) end |
Instance Attribute Details
#__delegate__ ⇒ Object
Returns the value of attribute __delegate__.
12 13 14 |
# File 'lib/gh/parallel.rb', line 12 def __delegate__ @__delegate__ end |
Instance Method Details
#respond_to_missing?(method) ⇒ Boolean
19 20 21 |
# File 'lib/gh/parallel.rb', line 19 def respond_to_missing?(method, *) super end |