Class: Locomotive::MenuCell::MenuProxy
- Inherits:
-
Object
- Object
- Locomotive::MenuCell::MenuProxy
- Defined in:
- app/cells/locomotive/menu_cell.rb
Instance Method Summary collapse
-
#initialize(cell) ⇒ MenuProxy
constructor
A new instance of MenuProxy.
- #method_missing(meth, *args) ⇒ Object
Constructor Details
#initialize(cell) ⇒ MenuProxy
Returns a new instance of MenuProxy.
30 31 32 |
# File 'app/cells/locomotive/menu_cell.rb', line 30 def initialize(cell) @cell = cell end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args) ⇒ Object
34 35 36 |
# File 'app/cells/locomotive/menu_cell.rb', line 34 def method_missing(meth, *args) @cell.send(meth, *args) end |