class Gammo::XPath::AST::Value::NodeSet
@!visibility private
Public Instance Methods
node_set?()
click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 77 def node_set? true end
to_bool()
click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 64 def to_bool !value.empty? end
to_node_set(context)
click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 60 def to_node_set(context) value end
to_number()
click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 68 def to_number to_s.to_i end
to_s()
click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 72 def to_s return '' if value.empty? value.first.to_s end