Class: RailsRouteChecker::Parsers::HamlParser::Tree::RootNode

Inherits:
Node
  • Object
show all
Defined in:
lib/rails-route-checker/parsers/haml_parser/tree/root_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

#fileObject



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

def file
  @document.file
end