Class: Haml::Filters::Ruby

Inherits:
Base
  • Object
show all
Defined in:
lib/haml/filters/ruby.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Haml::Filters::Base

Instance Method Details

#compile(node)



5
6
7
# File 'lib/haml/filters/ruby.rb', line 5

def compile(node)
  [:code, node.value[:text]]
end