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?



71
72
73
# File 'platypus/tmp/set/gem-defaults/mod005-list/abstract/01_list/other_views.rb', line 71

def default_item_view
  :content
end

#view: contentObject



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

view :content, :core

#view: coreObject



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

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

#view: titledObject



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

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