Methods

Included Modules

Class/Module Index [+]

Quicksearch

Haml::Filters::CodeRay_raw

{Haml::Filters::CodeRay} without `#{}` interpolation.

@example Ruby

:coderay_raw
  #!ruby

  if true
    puts "#{hello}"
  end

@see Haml::Filters::CodeRay

Public Instance Methods

compile(precompiler, text) click to toggle source
# File lib/haml-coderay.rb, line 70
def compile(precompiler, text)
  text = Haml::Helpers::find_and_preserve(
    Haml::Filters::CodeRay.render(text).rstrip,
    precompiler.options[:preserve])
  precompiler.send(:push_text, text)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.