Class: Card::Layout::ProcLayout

Inherits:
Card::Layout show all
Defined in:
card-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

#renderObject



4
5
6
# File 'card-mod-layout/lib/card/layout/proc_layout.rb', line 4

def render
  @layout.call
end