Sha256: 65b799ae03b743153878d63c7fd5b0d75afef9c6752c816a26edcfe6f3b474d0

Contents?: true

Size: 369 Bytes

Versions: 3

Compression:

Stored size: 369 Bytes

Contents

require 'happy/helpers/html'
require 'happy/helpers/i18n'
require 'happy/helpers/rendering'

module Happy
  # A collection of useful helper methods.
  #
  module Helpers
    include Html
    include Rendering
    include I18n

    # Some useful shortcuts.
    #
    alias_method :h, :escape_html
    alias_method :l, :localize
    alias_method :t, :translate
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
happy-0.1.0 lib/happy/helpers.rb
happy-0.1.0.pre28 lib/happy/helpers.rb
happy-0.1.0.pre27 lib/happy/helpers.rb