Sha256: b57adbd2093f4550c692631b43253130c9ff94e413a31f79c2888864525a0a95
Contents?: true
Size: 245 Bytes
Versions: 2
Compression:
Stored size: 245 Bytes
Contents
module BootstrapEmail module Component class Body < Base def build body = doc.at_css('body') body.inner_html = template('body', classes: "#{body['class']} body", contents: body.inner_html) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bootstrap-email-1.0.0.alpha2.1 | lib/bootstrap-email/components/body.rb |
bootstrap-email-1.0.0.alpha2 | lib/bootstrap-email/components/body.rb |