In Files

Methods

Files

DBI::Type::Integer

Represents a whole number. Falls back to Varchar.

Public Class Methods

parse(obj) click to toggle source
# File lib/dbi/types.rb, line 73
def self.parse(obj)
    return nil if Null.parse(obj).nil?
    return obj.to_i if obj.respond_to? :to_i
    super 
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.