Class: Rubyang::Xpath::NodeTest::ProcessingInstruction

Inherits:
Object
  • Object
show all
Defined in:
lib/rubyang/xpath.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(literal) ⇒ ProcessingInstruction

Returns a new instance of ProcessingInstruction.



279
280
281
# File 'lib/rubyang/xpath.rb', line 279

def initialize literal
  @literal = literal
end

Instance Attribute Details

#literalObject (readonly)

Returns the value of attribute literal.



277
278
279
# File 'lib/rubyang/xpath.rb', line 277

def literal
  @literal
end