Class: OrientDB::Document

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

Instance Method Summary collapse

Instance Method Details

#update_attributes(attributes) ⇒ Object



9
10
11
12
13
# File 'lib/java-api.rb', line 9

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