Class: OrientDB::Document

Inherits:
Object show all
Defined in:
lib/java-api.rb

Instance Method Summary collapse

Instance Method Details

#update_attributes(attributes) ⇒ Object



14
15
16
17
18
# File 'lib/java-api.rb', line 14

def update_attributes attributes
  attributes.each do |y,x| 
    self[ y ] =  x.to_orient
  end
end