Class: TwitterBootstrapMarkup::Brand
- Defined in:
- lib/twitter_bootstrap_markup/brand.rb
Constant Summary
Constants included from Popover
Constants included from Tooltip
Instance Attribute Summary
Attributes inherited from Tag
Instance Method Summary collapse
-
#initialize(title, url) ⇒ Brand
constructor
A new instance of Brand.
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(title, url) ⇒ Brand
Returns a new instance of Brand.
4 5 6 |
# File 'lib/twitter_bootstrap_markup/brand.rb', line 4 def initialize(title, url) super(:a, title, :class => 'brand', :href => url) end |