Class: JPath::Parser::Self

Inherits:
Step
  • Object
show all
Defined in:
lib/jpath/parser/step.rb

Instance Attribute Summary

Attributes inherited from Step

#name, #predicates

Instance Method Summary collapse

Methods inherited from Step

#+, #<<, #wildcard?

Constructor Details

#initializeSelf

Returns a new instance of Self.



33
34
35
# File 'lib/jpath/parser/step.rb', line 33

def initialize
  super(nil)
end

Instance Method Details

#to_sObject



37
38
39
# File 'lib/jpath/parser/step.rb', line 37

def to_s
  "self"
end