Class: Bridgetown::WrappedObjectWithRefinements
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Bridgetown::WrappedObjectWithRefinements
- Defined in:
- bridgetown-foundation/lib/bridgetown-foundation.rb
Overview
Any method call sent will be passed along to the wrapped object with refinements activated
Instance Method Summary collapse
-
#method_missing(method) ⇒ Object
rubocop:disable Style/MissingRespondToMissing.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method) ⇒ Object
rubocop:disable Style/MissingRespondToMissing
50 51 |
# File 'bridgetown-foundation/lib/bridgetown-foundation.rb', line 50 def method_missing(method, ...) = __getobj__.send(method, ...) # rubocop:enable Style/MissingRespondToMissing |