Class: Hamlit::Filters::Ruby
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Hamlit::Filters::Base
Instance Method Details
#compile(node) ⇒ Object
5 6 7 |
# File 'lib/hamlit/filters/ruby.rb', line 5 def compile(node) [:code, node.value[:text]] end |