Class: Mack::Utils::OptionMerger
- Defined in:
- lib/mack-facets/utils/options_merger.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(context, options) ⇒ OptionMerger
constructor
A new instance of OptionMerger.
Constructor Details
#initialize(context, options) ⇒ OptionMerger
Returns a new instance of OptionMerger.
8 9 10 |
# File 'lib/mack-facets/utils/options_merger.rb', line 8 def initialize(context, ) @context, @options = context, end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *arguments, &block) ⇒ Object (private)
13 14 15 16 |
# File 'lib/mack-facets/utils/options_merger.rb', line 13 def method_missing(method, *arguments, &block) arguments @context.send(method, *arguments, &block) end |