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

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

Instance Method Summary collapse

Instance Method Details

#lob_typeObject



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

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



90
91
92
# File 'lib/arjdbc/util/serialized_attributes.rb', line 90

def lob_type=(type)
  @lob_type = type
end