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

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

Instance Method Summary collapse

Instance Method Details

#lob_typeObject



58
59
60
61
62
63
64
65
66
# File 'lib/arjdbc/util/serialized_attributes.rb', line 58

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



68
69
70
# File 'lib/arjdbc/util/serialized_attributes.rb', line 68

def lob_type=(type)
  @lob_type = type
end