Module: ArJdbc::Util::SerializedAttributes::ClassMethods

Defined in:
lib/arjdbc/util/serialized_attributes.rb

Instance Method Summary collapse

Instance Method Details

#lob_typeObject



78
79
80
81
82
83
84
85
86
# File 'lib/arjdbc/util/serialized_attributes.rb', line 78

def lob_type
  @lob_type ||= begin
    if superclass.respond_to?(:lob_type)
      superclass.lob_type
    else
      /blob|clob/i
    end
  end
end

#lob_type=(type) ⇒ Object



88
89
90
# File 'lib/arjdbc/util/serialized_attributes.rb', line 88

def lob_type=(type)
  @lob_type = type
end