Class: ActiveRecord::ConnectionAdapters::NullDBAdapter::DummyOID
- Inherits:
-
ActiveModel::Type::Value
- Object
- ActiveModel::Type::Value
- ActiveRecord::ConnectionAdapters::NullDBAdapter::DummyOID
- Defined in:
- lib/active_record/connection_adapters/nulldb_adapter/core.rb
Instance Attribute Summary collapse
-
#subtype ⇒ Object
readonly
Returns the value of attribute subtype.
Instance Method Summary collapse
-
#initialize(*args) ⇒ DummyOID
constructor
A new instance of DummyOID.
Constructor Details
#initialize(*args) ⇒ DummyOID
Returns a new instance of DummyOID.
411 412 413 |
# File 'lib/active_record/connection_adapters/nulldb_adapter/core.rb', line 411 def initialize(*args) @subtype = args.first end |
Instance Attribute Details
#subtype ⇒ Object (readonly)
Returns the value of attribute subtype.
409 410 411 |
# File 'lib/active_record/connection_adapters/nulldb_adapter/core.rb', line 409 def subtype @subtype end |