Module: Card::Set::All::Layouts::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod031-layout/all/layouts.rb

Instance Method Summary collapse

Instance Method Details

#body_tag(klasses = "") ⇒ Object



48
49
50
51
52
53
54
# File 'platypus/tmp/set/gem-defaults/mod031-layout/all/layouts.rb', line 48

def body_tag klasses=""
  <<-HTML.strip_heredoc
    <body class="#{klasses}">
      #{yield}
    </body>
  HTML
end

#layout_nestObject



11
12
13
# File 'platypus/tmp/set/gem-defaults/mod031-layout/all/layouts.rb', line 11

def layout_nest
  wrap_main { interior }
end