Class: Locomotive::MenuCell::MenuProxy

Inherits:
Object
  • Object
show all
Defined in:
app/cells/locomotive/menu_cell.rb

Instance Method Summary collapse

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