Class: RLMMigration

Inherits:
Object
  • Object
show all
Defined in:
lib/project/realm/migration.rb

Instance Method Summary collapse

Instance Method Details

#enumerate(class_name, &block) ⇒ Object



2
3
4
5
# File 'lib/project/realm/migration.rb', line 2

def enumerate(class_name, &block)
  # block should accept two variables: old_object and new_object
  self.enumerateObjects class_name, block: block
end