Class: OCI8::BindType::NamedType

Inherits:
Object
  • Object
show all
Defined in:
lib/oci8/object.rb

Direct Known Subclasses

Object

Class Method Summary collapse

Class Method Details

.create(con, val, param, max_array_size) ⇒ Object



582
583
584
585
586
587
588
589
# File 'lib/oci8/object.rb', line 582

def self.create(con, val, param, max_array_size)
  case param
  when Hash
    self.new(con, val, param[:length], max_array_size)
  else
    self.new(con, val, param, max_array_size)
  end
end