Class: RailsRouteChecker::Parsers::HamlParser::Tree::ScriptNode

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

#scriptObject



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

def script
  @value[:text]
end