Class: OCI8::NamedCollection
- Inherits:
-
Object
- Object
- OCI8::NamedCollection
- Defined in:
- lib/oci8/object.rb
Instance Method Summary collapse
Instance Method Details
#attributes ⇒ Object
508 509 510 511 |
# File 'lib/oci8/object.rb', line 508 def attributes attr = tdo.coll_attr get_coll_element(attr.datatype, attr.typeinfo) end |
#attributes=(obj) ⇒ Object
513 514 515 516 |
# File 'lib/oci8/object.rb', line 513 def attributes=(obj) attr = tdo.coll_attr set_coll_element(attr.datatype, attr.typeinfo, obj.to_ary) end |
#to_value ⇒ Object
502 503 504 505 506 |
# File 'lib/oci8/object.rb', line 502 def to_value obj = tdo.ruby_class.new obj.instance_variable_set(:@attributes, self.attributes) obj end |