Class: RPath::Root

Inherits:
VertexExpression show all
Defined in:
lib/rpath/expressions.rb

Overview

Evaluates to the root of the graph.

Instance Method Summary collapse

Methods inherited from VertexExpression

#[], #adjacent, #content, #method_missing

Methods inherited from Expression

#eval

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RPath::VertexExpression

Instance Method Details

#to_sString

Returns:

  • (String)


146
147
148
# File 'lib/rpath/expressions.rb', line 146

def to_s
  'root'
end