Module: Card::Set::Abstract::List::OtherViews::CssFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/other_views.rb

Overview

CSS views

Instance Method Summary collapse

Instance Method Details

#default_item_viewObject

generalize to all collections?



75
76
77
# File 'platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/other_views.rb', line 75

def default_item_view
  :content
end

#view: contentObject



83
84
85
# File 'platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/other_views.rb', line 83

view :content do
  nest_item_array.join "\n\n"
end

#view: titledObject



79
80
81
# File 'platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/other_views.rb', line 79

view :titled do
  %(#{major_comment "STYLE GROUP: \"#{card.name}\"", '='}#{_render_core})
end