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/wrapper.rb,
lib/slim/compiler.rb,
lib/slim/sections.rb,
lib/slim/template.rb,
lib/slim/end_inserter.rb,
lib/slim/interpolation.rb,
lib/slim/embedded_engine.rb
Defined Under Namespace
Modules: Grammar Classes: CollectNewlines, CollectText, Command, Compiler, EmbeddedEngine, EndInserter, Engine, Filter, Interpolation, Parser, ProtectOutput, Sections, Wrapper
Constant Summary collapse
- VERSION =
Slim version string
'1.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 => true)