Module: ApipieHelper

Includes:
ActionView::Helpers::TagHelper
Included in:
Apipie::ApipiesController
Defined in:
app/helpers/apipie_helper.rb

Instance Method Summary collapse

Instance Method Details

#heading(title, level = 1) ⇒ Object



4
5
6
7
8
# File 'app/helpers/apipie_helper.rb', line 4

def heading(title, level = 1)
  ("h#{level}") do
    title
  end
end