Sha256: 62213546eb7b6a9d353ef4f52ca2a78a919c8334bb3b2814462b649fef919f20

Contents?: true

Size: 656 Bytes

Versions: 1

Compression:

Stored size: 656 Bytes

Contents

require 'lotus/helpers/version'
require 'lotus/helpers/html_helper'
require 'lotus/helpers/escape_helper'
require 'lotus/helpers/routing_helper'

module Lotus
  # View helpers for Ruby applications
  #
  # @since 0.1.0
  module Helpers
    # Override for Module.included
    #
    # It injects all the available helpers.
    #
    # @since 0.1.0
    # @api private
    #
    # @see http://www.ruby-doc.org/core/Module.html#method-i-included
    def self.included(base)
      base.class_eval do
        include Lotus::Helpers::HtmlHelper
        include Lotus::Helpers::EscapeHelper
        include Lotus::Helpers::RoutingHelper
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lotus-helpers-0.1.0 lib/lotus/helpers.rb