Module: Card::Set::All::AllCss::CssFormat
- Extended by:
- Card::Set::AbstractFormat
- Defined in:
- tmpsets/set/mod006-basic_formats/all/all_css.rb
Instance Method Summary collapse
Instance Method Details
#default_nest_view ⇒ Object
10 11 12 |
# File 'tmpsets/set/mod006-basic_formats/all/all_css.rb', line 10 def default_nest_view :raw end |
#major_comment(comment, char = "-") ⇒ Object
39 40 41 42 43 |
# File 'tmpsets/set/mod006-basic_formats/all/all_css.rb', line 39 def major_comment comment, char="-" edge = %(/* #{char * (comment.length + 4)} */) main = %(/* #{char} #{comment} #{char} */) "#{edge}\n#{main}\n#{edge}\n\n" end |
#show(view, args) ⇒ Object
14 15 16 17 |
# File 'tmpsets/set/mod006-basic_formats/all/all_css.rb', line 14 def show view, args view ||= :content render! view, args end |