Class: TwitterBootstrapMarkup::AddOn
- Defined in:
- lib/twitter_bootstrap_markup/add_on.rb
Constant Summary
Constants included from Popover
Constants included from Tooltip
Instance Attribute Summary
Attributes inherited from Tag
Instance Method Summary collapse
-
#initialize(text) ⇒ AddOn
constructor
A new instance of AddOn.
Methods inherited from Tag
#append, block, inline, #prepend, #to_s
Methods included from SidePosition
Methods included from Popover
Methods included from Tooltip
Constructor Details
#initialize(text) ⇒ AddOn
Returns a new instance of AddOn.
4 5 6 |
# File 'lib/twitter_bootstrap_markup/add_on.rb', line 4 def initialize(text) super(:span, text, :class => 'add-on') end |