Class: Card::Layout::CodeLayout
- Inherits:
-
Card::Layout
- Object
- Card::Layout
- Card::Layout::CodeLayout
- Defined in:
- mod/standard/lib/card/layout/code_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/standard/lib/card/layout/code_layout.rb', line 4 def render @format.send Card::Set::Format.layout_method_name(@layout) end |