Module: Trestle::HeadingsHelper
- Defined in:
- app/helpers/trestle/headings_helper.rb
Instance Method Summary collapse
- #h1(text, options = {}) ⇒ Object
- #h2(text, options = {}) ⇒ Object
- #h3(text, options = {}) ⇒ Object
- #h4(text, options = {}) ⇒ Object
- #h5(text, options = {}) ⇒ Object
- #h6(text, options = {}) ⇒ Object
Instance Method Details
#h1(text, options = {}) ⇒ Object
3 4 5 |
# File 'app/helpers/trestle/headings_helper.rb', line 3 def h1(text, ={}) content_tag(:h1, text, ) end |
#h2(text, options = {}) ⇒ Object
7 8 9 |
# File 'app/helpers/trestle/headings_helper.rb', line 7 def h2(text, ={}) content_tag(:h2, text, ) end |
#h3(text, options = {}) ⇒ Object
11 12 13 |
# File 'app/helpers/trestle/headings_helper.rb', line 11 def h3(text, ={}) content_tag(:h3, text, ) end |
#h4(text, options = {}) ⇒ Object
15 16 17 |
# File 'app/helpers/trestle/headings_helper.rb', line 15 def h4(text, ={}) content_tag(:h4, text, ) end |
#h5(text, options = {}) ⇒ Object
19 20 21 |
# File 'app/helpers/trestle/headings_helper.rb', line 19 def h5(text, ={}) content_tag(:h5, text, ) end |
#h6(text, options = {}) ⇒ Object
23 24 25 |
# File 'app/helpers/trestle/headings_helper.rb', line 23 def h6(text, ={}) content_tag(:h6, text, ) end |