Module: Card::Set::Abstract::Pointer::OtherViews::CssFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
card/tmpsets/set/mod009-card-mod-list/abstract/01_pointer/other_views.rb,
card/tmpsets/set/mod008-card-mod-list/abstract/01_pointer/other_views.rb

Overview

CSS views

Instance Method Summary collapse

Instance Method Details

#default_item_viewObject

generalize to all collections?



88
89
90
# File 'card/tmpsets/set/mod009-card-mod-list/abstract/01_pointer/other_views.rb', line 88

def default_item_view
  :content
end

#view: contentObject



100
# File 'card/tmpsets/set/mod009-card-mod-list/abstract/01_pointer/other_views.rb', line 100

view :content, :core

#view: coreObject



96
97
98
# File 'card/tmpsets/set/mod009-card-mod-list/abstract/01_pointer/other_views.rb', line 96

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

#view: titledObject



92
93
94
# File 'card/tmpsets/set/mod009-card-mod-list/abstract/01_pointer/other_views.rb', line 92

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