Class: HamlLint::Tree::FilterNode
- Defined in:
- lib/haml_lint/tree/filter_node.rb
Overview
Represents a filter node which contains arbitrary code.
Instance Attribute Summary
Attributes inherited from Node
#children, #line, #parent, #type
Instance Method Summary collapse
-
#filter_type ⇒ Object
The type of code contained in this filter.
Methods inherited from Node
#find, #initialize, #inspect, #next_node, #source_code, #successor, #text
Constructor Details
This class inherits a constructor from HamlLint::Tree::Node
Instance Method Details
#filter_type ⇒ Object
The type of code contained in this filter.
5 6 7 |
# File 'lib/haml_lint/tree/filter_node.rb', line 5 def filter_type @value[:name] end |