Module: Lotus::Helpers

Defined in:
lib/lotus/helpers.rb,
lib/lotus/helpers/version.rb,
lib/lotus/helpers/html_helper.rb,
lib/lotus/helpers/escape_helper.rb,
lib/lotus/helpers/routing_helper.rb,
lib/lotus/helpers/html_helper/html_node.rb,
lib/lotus/helpers/html_helper/html_builder.rb,
lib/lotus/helpers/html_helper/empty_html_node.rb

Overview

View helpers for Ruby applications

Since:

  • 0.1.0

Defined Under Namespace

Modules: EscapeHelper, HtmlHelper, RoutingHelper

Constant Summary collapse

VERSION =

Define version

Since:

  • 0.1.0

'0.1.0'.freeze

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Override for Module.included

It injects all the available helpers.


19
20
21
22
23
24
25
# File 'lib/lotus/helpers.rb', line 19

def self.included(base)
  base.class_eval do
    include Lotus::Helpers::HtmlHelper
    include Lotus::Helpers::EscapeHelper
    include Lotus::Helpers::RoutingHelper
  end
end