Class: Haml::Compiler::CommentCompiler
- Inherits:
-
Object
- Object
- Haml::Compiler::CommentCompiler
- Defined in:
- lib/haml/compiler/comment_compiler.rb
Instance Method Summary collapse
Instance Method Details
#compile(node, &block) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/haml/compiler/comment_compiler.rb', line 5 def compile(node, &block) if node.value[:conditional] compile_conditional_comment(node, &block) else compile_html_comment(node, &block) end end |