module FormattingHelpers
FormattingHelpers
is used to format content.
Public Instance Methods
le(name, first_entry = false)
click to toggle source
# File lib/coursegen/course/helpers/formatting_helpers.rb, line 11 def le(name, first_entry = false) str = '' str += '</dd><br/>' unless first_entry str += "<dt>#{name}</dt><dd>" str end
list_begin()
click to toggle source
# File lib/coursegen/course/helpers/formatting_helpers.rb, line 3 def list_begin '<dl class="dl-horizontal" style="font-size: 125%;">' end
list_end()
click to toggle source
# File lib/coursegen/course/helpers/formatting_helpers.rb, line 7 def list_end '</dd></dl>' end