Method: OrientDB::Document#update_attributes

Defined in:
lib/java-api.rb

#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