module SeedSnapshot
Constants
- VERSION
Public Class Methods
clean()
click to toggle source
# File lib/seed-snapshot.rb, line 26 def self.clean snapshot = Seed::Snapshot.new(self.configuration) snapshot.clean end
configuration()
click to toggle source
@return Seed::Configuration
# File lib/seed-snapshot.rb, line 37 def self.configuration Seed::Configuration.new end
dump(classes: [], ignore_classes: [], force: false)
click to toggle source
exists?()
click to toggle source
@return Boolean
# File lib/seed-snapshot.rb, line 21 def self.exists? snapshot = Seed::Snapshot.new(self.configuration) snapshot.exist_path? end
manifest()
click to toggle source
@return Seed::Manifest
# File lib/seed-snapshot.rb, line 32 def self.manifest Seed::Manifest.new(self.configuration) end
restore()
click to toggle source
# File lib/seed-snapshot.rb, line 15 def self.restore snapshot = Seed::Snapshot.new(self.configuration) snapshot.restore end