Module: Twitter::Bootstrap::Components::Rails::V3::ComponentsHelper
- Defined in:
- app/helpers/twitter/bootstrap/components/rails/v3/components_helper.rb
Instance Method Summary collapse
- #bootstrap_alert(options, &block) ⇒ Object
- #bootstrap_badge(options = {}, &block) ⇒ Object
- #bootstrap_button(options = {}, &block) ⇒ Object
- #bootstrap_button_group(options = {}, &block) ⇒ Object
- #bootstrap_media_object(options = {}, &block) ⇒ Object
- #bootstrap_responsive_media_object(options = {}, &block) ⇒ Object
- #bootstrap_thumbnail(options = {}, &block) ⇒ Object
Instance Method Details
#bootstrap_alert(options, &block) ⇒ Object
7 8 9 |
# File 'app/helpers/twitter/bootstrap/components/rails/v3/components_helper.rb', line 7 def bootstrap_alert(, &block) Twitter::Bootstrap::Components::V3::Alert.new(self, , &block).perform end |
#bootstrap_badge(options = {}, &block) ⇒ Object
11 12 13 |
# File 'app/helpers/twitter/bootstrap/components/rails/v3/components_helper.rb', line 11 def bootstrap_badge( = {}, &block) Twitter::Bootstrap::Components::V3::Badge.new(self, , &block).perform end |
#bootstrap_button(options = {}, &block) ⇒ Object
15 16 17 |
# File 'app/helpers/twitter/bootstrap/components/rails/v3/components_helper.rb', line 15 def ( = {}, &block) Twitter::Bootstrap::Components::V3::Button.new(self, , &block).perform end |
#bootstrap_button_group(options = {}, &block) ⇒ Object
19 20 21 |
# File 'app/helpers/twitter/bootstrap/components/rails/v3/components_helper.rb', line 19 def ( = {}, &block) Twitter::Bootstrap::Components::V3::ButtonGroup.new(self, , &block).perform end |
#bootstrap_media_object(options = {}, &block) ⇒ Object
27 28 29 |
# File 'app/helpers/twitter/bootstrap/components/rails/v3/components_helper.rb', line 27 def bootstrap_media_object( = {}, &block) Twitter::Bootstrap::Components::V3::MediaObject.new(self, , &block).perform end |
#bootstrap_responsive_media_object(options = {}, &block) ⇒ Object
23 24 25 |
# File 'app/helpers/twitter/bootstrap/components/rails/v3/components_helper.rb', line 23 def bootstrap_responsive_media_object( = {}, &block) Twitter::Bootstrap::Components::V3::ResponsiveMediaObject.new(self, , &block).perform end |