Class: CouchMigrate::FilePersistedList
- Inherits:
-
BasePersistedList
- Object
- BasePersistedList
- CouchMigrate::FilePersistedList
- Defined in:
- lib/couch_migrate/file_persisted_list.rb
Instance Method Summary collapse
-
#initialize(meta_file_directory = "db/migrate") ⇒ FilePersistedList
constructor
A new instance of FilePersistedList.
Methods inherited from BasePersistedList
#add, #get, #remove, #reset, #set
Constructor Details
#initialize(meta_file_directory = "db/migrate") ⇒ FilePersistedList
6 7 8 9 10 11 12 13 |
# File 'lib/couch_migrate/file_persisted_list.rb', line 6 def initialize(="db/migrate") super() path = Pathname.new() path.mkpath @path = path+"meta.yml" read self end |