Module: Slim
- Defined in:
- lib/slim/engine.rb,
lib/slim/filter.rb,
lib/slim/parser.rb,
lib/slim/command.rb,
lib/slim/grammar.rb,
lib/slim/version.rb,
lib/slim/controls.rb,
lib/slim/embedded.rb,
lib/slim/template.rb,
lib/slim/translator.rb,
lib/slim/do_inserter.rb,
lib/slim/end_inserter.rb,
lib/slim/splat/filter.rb,
lib/slim/erb_converter.rb,
lib/slim/interpolation.rb,
lib/slim/splat/builder.rb,
lib/slim/code_attributes.rb,
lib/slim/logic_less/filter.rb,
lib/slim/logic_less/context.rb
Defined Under Namespace
Modules: Grammar, Splat Classes: CodeAttributes, Command, Controls, DoInserter, ERBConverter, Embedded, EndInserter, Engine, Filter, Interpolation, LogicLess, NewlineCollector, OutputProtector, Parser, TextCollector, Translator
Constant Summary collapse
- VERSION =
Slim version string
'2.0.2'
- Template =
Tilt template implementation for Slim
Temple::Templates::Tilt(Slim::Engine, :register_as => :slim)
- RailsTemplate =
Rails template implementation for Slim
Temple::Templates::Rails(Slim::Engine, :register_as => :slim, # Use rails-specific generator. This is necessary # to support block capturing and streaming. :generator => Temple::Generators::RailsOutputBuffer, # Disable the internal slim capturing. # Rails takes care of the capturing by itself. :disable_capture => true, :streaming => defined?(::Fiber))