Class: Example5
- Inherits:
-
DivTemplate
- Object
- DivTemplate
- Example5
- Defined in:
- lib/div_template.rb
Instance Attribute Summary
Attributes inherited from DivTemplate
Instance Method Summary collapse
Methods inherited from DivTemplate
Constructor Details
This class inherits a constructor from DivTemplate
Instance Method Details
#div_str ⇒ Object
34 35 36 37 38 39 40 |
# File 'lib/div_template.rb', line 34 def div_str %Q{ <div id="#{options[:div_template]}"> <div id="shareme" data-url="#{options[:url]}" data-text="#{options[:text]}"></div> </div> }.html_safe end |