--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Setups up a connection to a data-store
- !ruby/struct:SM::Flow::P 
  body: "@param [Symbol] name"
- !ruby/struct:SM::Flow::VERB 
  body: "  a name for the context, defaults to :default\n"
- !ruby/struct:SM::Flow::P 
  body: "@param [Hash(Symbol =&gt; String), Addressable::URI, String] uri_or_options"
- !ruby/struct:SM::Flow::VERB 
  body: "  connection information\n"
- !ruby/struct:SM::Flow::P 
  body: "@return [DataMapper::Adapters::AbstractAdapter]"
- !ruby/struct:SM::Flow::VERB 
  body: "  the resulting setup adapter\n"
- !ruby/struct:SM::Flow::P 
  body: "@raise [ArgumentError] &quot;<tt>name</tt> must be a Symbol, but was...&quot;"
- !ruby/struct:SM::Flow::VERB 
  body: "  indicates that an invalid argument was passed for name[Symbol]\n"
- !ruby/struct:SM::Flow::P 
  body: "@raise [ArgumentError] &quot;<tt>uri_or_options</tt> must be a Hash, URI or String, but was...&quot;"
- !ruby/struct:SM::Flow::VERB 
  body: "  indicates that connection information could not be gleaned from\n  the given uri_or_options[Hash, Addressable::URI, String]\n"
- !ruby/struct:SM::Flow::P 
  body: "@api public"
full_name: DataMapper::setup
is_singleton: true
name: setup
params: (*args)
visibility: public
