Class: Resque::Reports::Extensions::Dummy
- Inherits:
-
Object
- Object
- Resque::Reports::Extensions::Dummy
- Defined in:
- lib/resque/reports/extensions.rb
Overview
Class for dummy object that respond to any method and returns ‘nil’ on any method call
Instance Method Summary collapse
- #method_missing(method, *arguments, &block) ⇒ Object
- #respond_to?(method, include_private = false) ⇒ Boolean
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *arguments, &block) ⇒ Object
19 20 21 |
# File 'lib/resque/reports/extensions.rb', line 19 def method_missing(method, *arguments, &block) nil end |
Instance Method Details
#respond_to?(method, include_private = false) ⇒ Boolean
23 24 25 |
# File 'lib/resque/reports/extensions.rb', line 23 def respond_to?(method, include_private = false) true end |