Module: Lotus::Helpers

Defined in:
lib/lotus/helpers.rb,
lib/lotus/helpers/version.rb,
lib/lotus/helpers/form_helper.rb,
lib/lotus/helpers/html_helper.rb,
lib/lotus/helpers/escape_helper.rb,
lib/lotus/helpers/link_to_helper.rb,
lib/lotus/helpers/routing_helper.rb,
lib/lotus/helpers/form_helper/values.rb,
lib/lotus/helpers/form_helper/html_node.rb,
lib/lotus/helpers/html_helper/html_node.rb,
lib/lotus/helpers/html_helper/text_node.rb,
lib/lotus/helpers/form_helper/form_builder.rb,
lib/lotus/helpers/html_helper/html_builder.rb,
lib/lotus/helpers/number_formatting_helper.rb,
lib/lotus/helpers/html_helper/html_fragment.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, FormHelper, HtmlHelper, LinkToHelper, NumberFormattingHelper, RoutingHelper

Constant Summary collapse

VERSION =

Define version

Since:

  • 0.1.0

'0.2.6'.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.



22
23
24
25
26
27
28
29
30
31
# File 'lib/lotus/helpers.rb', line 22

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