Class: Rubyang::Xpath::Expr

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(op) ⇒ Expr

Returns a new instance of Expr.



207
208
209
# File 'lib/rubyang/xpath.rb', line 207

def initialize op
  @op = op
end

Instance Attribute Details

#opObject (readonly)

Returns the value of attribute op.



206
207
208
# File 'lib/rubyang/xpath.rb', line 206

def op
  @op
end