Class: Bootstrap::ViewHelpers::Components::Button::Link

Inherits:
Bootstrap::ViewHelpers::Components::Button show all
Defined in:
lib/bootstrap/view_helpers/components/button/link.rb

Constant Summary

Constants inherited from Bootstrap::ViewHelpers::Components::Button

TYPES

Instance Attribute Summary

Attributes inherited from Bootstrap::ViewHelpers::Component

#block, #options, #style, #view

Instance Method Summary collapse

Methods inherited from Bootstrap::ViewHelpers::Components::Button

build

Methods inherited from Bootstrap::ViewHelpers::Component

#initialize

Constructor Details

This class inherits a constructor from Bootstrap::ViewHelpers::Component

Instance Method Details

#to_htmlObject



6
7
8
9
# File 'lib/bootstrap/view_helpers/components/button/link.rb', line 6

def to_html
  verify_disabled_link
  link_to(label, href, html_options)
end