Class: OCI8::NamedCollection
Instance Method Summary collapse
Instance Method Details
#attributes ⇒ Object
522 523 524 525 |
# File 'lib/oci8/object.rb', line 522 def attributes attr = tdo.coll_attr get_coll_element(attr.datatype, attr.typeinfo) end |
#attributes=(obj) ⇒ Object
527 528 529 530 |
# File 'lib/oci8/object.rb', line 527 def attributes=(obj) attr = tdo.coll_attr set_coll_element(attr.datatype, attr.typeinfo, obj.to_ary) end |
#to_value ⇒ Object
516 517 518 519 520 |
# File 'lib/oci8/object.rb', line 516 def to_value obj = tdo.ruby_class.new obj.instance_variable_set(:@attributes, self.attributes) obj end |