Method: EPO::DB#batch_save

Defined in:
lib/epo/core/db.rb

#batch_save(root, resources, persps, exts) ⇒ Object

Saves all the resources, under all the perspectives persps, and all format given by extensions exts at the filesystem path root. resources, perps, exts, must respond to :each, like for Enumerable



164
165
166
167
168
# File 'lib/epo/core/db.rb', line 164

def batch_save(root, resources, persps, exts)
  batch_save_actions(root, resources, persps, exts) do |action|
    action.perform
  end
end