Sha256: 5a69a9030b8218e407414ffa68effeaf03870f54d9177bc87b64efa6c9878c9e

Contents?: true

Size: 337 Bytes

Versions: 22

Compression:

Stored size: 337 Bytes

Contents

# FormattingHelpers is used to format content.
module FormattingHelpers
  def list_begin
    '<dl class="dl-horizontal" style="font-size: 125%;">'
  end

  def list_end
    '</dd></dl>'
  end

  def le(name, first_entry = false)
    str = ''
    str += '</dd><br/>' unless first_entry
    str += "<dt>#{name}</dt><dd>"
    str
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
coursegen-0.9.25 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.24 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.21 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.20 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.19 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.18 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.17 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.16 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.15 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.14 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.13 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.12 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.11 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.10 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.9 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.8 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.7 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.6 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.4 lib/coursegen/course/helpers/formatting_helpers.rb
coursegen-0.9.3 lib/coursegen/course/helpers/formatting_helpers.rb