Class: RailsRouteChecker::Parsers::HamlParser::Tree::FilterNode

Inherits:
Node
  • Object
show all
Defined in:
lib/rails-route-checker/parsers/haml_parser/tree/filter_node.rb

Instance Attribute Summary

Attributes inherited from Node

#children, #line, #parent, #type

Instance Method Summary collapse

Methods inherited from Node

#directives, #each, #initialize, #inspect, #line_numbers, #lines, #next_node, #predecessor, #source_code, #subsequents, #successor, #text

Constructor Details

This class inherits a constructor from RailsRouteChecker::Parsers::HamlParser::Tree::Node

Instance Method Details

#filter_typeObject



8
9
10
# File 'lib/rails-route-checker/parsers/haml_parser/tree/filter_node.rb', line 8

def filter_type
  @value[:name]
end