Class: DBI::Type::Null
- Inherits:
-
Object
- Object
- DBI::Type::Null
- Defined in:
- lib/dbi/types.rb
Overview
Represents a SQL NULL.
Class Method Summary collapse
Class Method Details
.parse(obj) ⇒ Object
51 52 53 54 |
# File 'lib/dbi/types.rb', line 51 def self.parse(obj) return nil if obj.to_s.match(/^null$/i) return obj end |