Class: Card::Layout::ProcLayout
- Inherits:
-
Card::Layout
- Object
- Card::Layout
- Card::Layout::ProcLayout
- Defined in:
- mod/layout/lib/card/layout/proc_layout.rb
Instance Method Summary collapse
Methods inherited from Card::Layout
built_in_layouts, built_in_layouts_hash, card_layout?, clear_cache, code_layout?, deregister_layout, #fetch_main_nest_opts, #initialize, layout_class, layout_key, layouts, #main_nest_opts, main_nest_opts, register_built_in_layout, register_layout, register_layout_with_nest, render
Constructor Details
This class inherits a constructor from Card::Layout
Instance Method Details
#render ⇒ Object
4 5 6 |
# File 'mod/layout/lib/card/layout/proc_layout.rb', line 4 def render @layout.call end |