Class: Markaby::Builder

Inherits:
Object show all
Defined in:
lib/trellis/utils.rb

Instance Method Summary collapse

Instance Method Details

#render_bodyObject



258
259
260
# File 'lib/trellis/utils.rb', line 258

def render_body
  text %[@!{@body}@]
end

#thtml(&block) ⇒ Object



250
251
252
253
254
255
256
# File 'lib/trellis/utils.rb', line 250

def thtml(&block)
  tag!(:html,
       :xmlns => "http://www.w3.org/1999/xhtml",
       "xml:lang" => "en",
       :lang => "en",
       "xmlns:trellis" => "http://trellisframework.org/schema/trellis_1_0_0.xsd", &block)
end