Module: Trestle::HeadingsHelper

Defined in:
app/helpers/trestle/headings_helper.rb

Instance Method Summary collapse

Instance Method Details

#h1(text, options = {}) ⇒ Object



3
4
5
# File 'app/helpers/trestle/headings_helper.rb', line 3

def h1(text, options={})
  (:h1, text, options)
end

#h2(text, options = {}) ⇒ Object



7
8
9
# File 'app/helpers/trestle/headings_helper.rb', line 7

def h2(text, options={})
  (:h2, text, options)
end

#h3(text, options = {}) ⇒ Object



11
12
13
# File 'app/helpers/trestle/headings_helper.rb', line 11

def h3(text, options={})
  (:h3, text, options)
end

#h4(text, options = {}) ⇒ Object



15
16
17
# File 'app/helpers/trestle/headings_helper.rb', line 15

def h4(text, options={})
  (:h4, text, options)
end

#h5(text, options = {}) ⇒ Object



19
20
21
# File 'app/helpers/trestle/headings_helper.rb', line 19

def h5(text, options={})
  (:h5, text, options)
end

#h6(text, options = {}) ⇒ Object



23
24
25
# File 'app/helpers/trestle/headings_helper.rb', line 23

def h6(text, options={})
  (:h6, text, options)
end