Class: Spider::Model::Storage::Db::Oracle::OracleNilValue
- Defined in:
- lib/spiderfw/model/storage/db/adapters/oracle.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ OracleNilValue
constructor
A new instance of OracleNilValue.
- #to_s ⇒ Object
Constructor Details
#initialize(type) ⇒ OracleNilValue
Returns a new instance of OracleNilValue.
464 465 466 467 |
# File 'lib/spiderfw/model/storage/db/adapters/oracle.rb', line 464 def initialize(type) @type = type @type = Fixnum if @type == TrueClass || @type == FalseClass end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
462 463 464 |
# File 'lib/spiderfw/model/storage/db/adapters/oracle.rb', line 462 def type @type end |
Instance Method Details
#to_s ⇒ Object
469 470 471 |
# File 'lib/spiderfw/model/storage/db/adapters/oracle.rb', line 469 def to_s 'NULL' end |