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

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

Instance Method Summary collapse

Instance Method Details

#lob_typeObject



67
68
69
70
71
72
73
74
75
# File 'lib/arjdbc/util/serialized_attributes.rb', line 67

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



77
78
79
# File 'lib/arjdbc/util/serialized_attributes.rb', line 77

def lob_type=(type)
  @lob_type = type
end