Class: ViewCell::Proxy
- Inherits:
-
Object
- Object
- ViewCell::Proxy
- Defined in:
- lib/view-cell/proxy.rb
Overview
proxy loader class cell.user.foo -> cell(:user).foo
Instance Method Summary collapse
-
#initialize(parent) ⇒ Proxy
constructor
A new instance of Proxy.
- #method_missing(cell_name, vars = {}) ⇒ Object
Constructor Details
#initialize(parent) ⇒ Proxy
Returns a new instance of Proxy.
5 6 7 |
# File 'lib/view-cell/proxy.rb', line 5 def initialize parent @parent = parent end |