DataMapper::Migrations::YamlAdapter

Public Class Methods

included(base) click to toggle source
    # File lib/dm-migrations/adapters/dm-yaml-adapter.rb, line 8
 8:       def self.included(base)
 9:         DataMapper.extend(Migrations::SingletonMethods)
10:         [ :Repository, :Model ].each do |name|
11:           DataMapper.const_get(name).send(:include, Migrations.const_get(name))
12:         end
13:       end

Public Instance Methods

destroy_model_storage(model) click to toggle source

@api semipublic

    # File lib/dm-migrations/adapters/dm-yaml-adapter.rb, line 16
16:       def destroy_model_storage(model)
17:         yaml_file(model).unlink if yaml_file(model).file?
18:         true
19:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.