Class: Example3

Inherits:
DivTemplate show all
Defined in:
lib/div_template.rb

Instance Attribute Summary

Attributes inherited from DivTemplate

#options

Instance Method Summary collapse

Methods inherited from DivTemplate

#initialize

Constructor Details

This class inherits a constructor from DivTemplate

Instance Method Details

#div_strObject



44
45
46
47
48
49
50
# File 'lib/div_template.rb', line 44

def div_str
  %Q{
    <div id="example3">
      <div id="shareme" data-url="#{options[:url]}" data-text="#{options[:text]}" data-title="#{options[:title]}"></div>
    </div>
  }.html_safe
end