class OracleSqlParser::Ast::NumberLiteral

Public Instance Methods

inspect() click to toggle source
# File lib/oracle-sql-parser/ast/number_literal.rb, line 3
def inspect
  "#<#{self.class.name} #{@ast.inspect}>"
end
to_decimal() click to toggle source
# File lib/oracle-sql-parser/ast/number_literal.rb, line 7
def to_decimal
  BigDecimal(@ast[:value])
end