ROM::Global#setup

Parsed documentation:
View on GitHub
Starts the setup process for relations, mappers and commands

@example

  ROM.setup('sqlite::memory')

  ROM.relation(:users) do
    # ...
  end

  ROM.mappers do
    define(:users) do
      # ...
    end
  end

  ROM.commands(:users) do
    define(:create) do
      # ...
    end
  end

  ROM.finalize # builds the env
  ROM.env # returns the env registry

@param [Hash] options repository URIs

@return [Setup] boot object

@api public
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.