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.
489 490 491 492 |
# File 'lib/spiderfw/model/storage/db/adapters/oracle.rb', line 489 def initialize(type) @type = type @type = Fixnum if @type == TrueClass || @type == FalseClass end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
487 488 489 |
# File 'lib/spiderfw/model/storage/db/adapters/oracle.rb', line 487 def type @type end |
Instance Method Details
#to_s ⇒ Object
494 495 496 |
# File 'lib/spiderfw/model/storage/db/adapters/oracle.rb', line 494 def to_s 'NULL' end |