class Gammo::XPath::AST::Value::Number

@!visibility private

Public Instance Methods

number?() click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 115
def number?
  true
end
to_bool() click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 103
def to_bool
  !value.zero?
end
to_number() click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 107
def to_number
  value
end
to_s() click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 111
def to_s
  value.to_s
end