Class: ActiveRecord::ConnectionAdapters::NullDBAdapter::DummyOID

Inherits:
ActiveModel::Type::Value
  • Object
show all
Defined in:
lib/active_record/connection_adapters/nulldb_adapter/core.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#subtypeObject (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