Module: Hamlit

Defined in:
lib/hamlit/filters/less.rb,
lib/hamlit/cli.rb,
lib/hamlit/html.rb,
lib/hamlit/error.rb,
lib/hamlit/utils.rb,
lib/hamlit/engine.rb,
lib/hamlit/parser.rb,
lib/hamlit/filters.rb,
lib/hamlit/helpers.rb,
lib/hamlit/railtie.rb,
lib/hamlit/version.rb,
lib/hamlit/compiler.rb,
lib/hamlit/identity.rb,
lib/hamlit/template.rb,
lib/hamlit/escapable.rb,
lib/hamlit/object_ref.rb,
lib/hamlit/filters/css.rb,
lib/hamlit/filters/erb.rb,
lib/hamlit/filters/base.rb,
lib/hamlit/filters/ruby.rb,
lib/hamlit/filters/sass.rb,
lib/hamlit/filters/scss.rb,
lib/hamlit/filters/cdata.rb,
lib/hamlit/filters/plain.rb,
lib/hamlit/rails_helpers.rb,
lib/hamlit/filters/coffee.rb,
lib/hamlit/rails_template.rb,
lib/hamlit/filters/escaped.rb,
lib/hamlit/force_escapable.rb,
lib/hamlit/ruby_expression.rb,
lib/hamlit/static_analyzer.rb,
lib/hamlit/string_splitter.rb,
lib/hamlit/attribute_parser.rb,
lib/hamlit/filters/markdown.rb,
lib/hamlit/filters/preserve.rb,
lib/hamlit/parser/haml_util.rb,
lib/hamlit/filters/text_base.rb,
lib/hamlit/filters/tilt_base.rb,
lib/hamlit/parser/haml_error.rb,
lib/hamlit/attribute_compiler.rb,
lib/hamlit/filters/javascript.rb,
lib/hamlit/parser/haml_buffer.rb,
lib/hamlit/parser/haml_parser.rb,
lib/hamlit/parser/haml_helpers.rb,
lib/hamlit/parser/haml_options.rb,
lib/hamlit/parser/haml_compiler.rb,
lib/hamlit/parser/haml_xss_mods.rb,
lib/hamlit/compiler/tag_compiler.rb,
lib/hamlit/compiler/script_compiler.rb,
lib/hamlit/compiler/comment_compiler.rb,
lib/hamlit/compiler/doctype_compiler.rb,
lib/hamlit/compiler/children_compiler.rb,
lib/hamlit/compiler/silent_script_compiler.rb,
ext/hamlit/hamlit.c

Overview

Currently this Hamlit::Helpers depends on ActionView internal implementation. (not desired)

Defined Under Namespace

Modules: AttributeBuilder, FescapeDispathcer, HamlHelpers, HamlUtil, Helpers, ObjectRef, RailsHelpers, TemplateExtension, Utils Classes: AttributeCompiler, AttributeParser, CLI, Compiler, Engine, Error, Escapable, FilterNotFound, Filters, ForceEscapable, HTML, HamlBuffer, HamlCompiler, HamlError, HamlOptions, HamlParser, HamlSyntaxError, Identity, InternalError, Parser, Railtie, RubyExpression, StaticAnalyzer, StringSplitter, SyntaxError

Constant Summary collapse

VERSION =
'2.7.2'
Template =
Temple::Templates::Tilt.create(
  Hamlit::Engine,
  register_as: :haml,
)
RailsTemplate =
Temple::Templates::Rails.create(
  Hamlit::Engine,
  generator:     Temple::Generators::RailsOutputBuffer,
  register_as:   :haml,
  use_html_safe: true,
  streaming:     true,
  buffer_class:  'ActionView::OutputBuffer',
)