Module: LaserLemon::CacheFlow
- Defined in:
- lib/cache_flow.rb
Instance Method Summary collapse
Instance Method Details
#cache!(name = {}, options = nil, &block) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/cache_flow.rb', line 3 def cache!(name = {}, = nil, &block) if controller = eval('@controller', block.binding) controller.fragment_for(@target, name, , &block) else yield end end |