Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/orientdb-ar/ext.rb
Instance Method Summary collapse
Instance Method Details
#to_orientdb ⇒ Object
73 74 75 |
# File 'lib/orientdb-ar/ext.rb', line 73 def to_orientdb map { |x| x.respond_to?(:to_orientdb) ? x.to_orientdb : x } end |
#to_orientdb_ar ⇒ Object
77 78 79 |
# File 'lib/orientdb-ar/ext.rb', line 77 def to_orientdb_ar map { |x| x.respond_to?(:to_orientdb_ar) ? x.to_orientdb_ar : x } end |