Class: DataMapper::Spec::Adapters::SqliteAdapter

### Home Classes Methods

### In Files

- lib/dm-sqlite-adapter/spec/setup.rb

### Parent

Adapter

### Methods

- #connection_uri

### Files

- LICENSE

### Class/Module Index

Quicksearch

- DataMapper
- DataMapper::Adapters
- DataMapper::Adapters::SqliteAdapter
- DataMapper::Spec
- DataMapper::Spec::Adapters
- DataMapper::Spec::Adapters::SqliteAdapter

No matching classes.

# DataMapper::Spec::Adapters::SqliteAdapter

### Public Instance Methods

connection_uri() click to toggle source

    # File lib/dm-sqlite-adapter/spec/setup.rb, line 11
    def connection_uri
      if name == :default
        "sqlite3::memory:"
      else
        # sqlite doesn't support two in memory dbs
        "sqlite3://#{Dir.tmpdir}/#{storage_name}.db"
      end
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.