class Gammo::XPath::AST::Value::Boolean

@!visibility private

Public Instance Methods

bool?() click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 96
def bool?
  true
end
to_bool() click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 84
def to_bool
  value
end
to_number() click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 88
def to_number
  value ? 1 : 0
end
to_s() click to toggle source
# File lib/gammo/xpath/ast/value.rb, line 92
def to_s
  value.to_s
end