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

block_params: (*block_args)
comment: 
- !ruby/struct:SM::Flow::P 
  body: Block Syntax
- !ruby/struct:SM::Flow::VERB 
  body: "  Pushes the named repository onto the context-stack,\n  yields a new session, and pops the context-stack.\n"
- !ruby/struct:SM::Flow::P 
  body: Non-Block Syntax
- !ruby/struct:SM::Flow::VERB 
  body: "  Returns the current session, or if there is none,\n  a new Session.\n"
- !ruby/struct:SM::Flow::P 
  body: "@param [Symbol] args the name of a repository to act within or return, :default is default"
- !ruby/struct:SM::Flow::P 
  body: "@yield [Proc] (optional) block to execute within the context of the named repository"
- !ruby/struct:SM::Flow::P 
  body: "@api public"
full_name: DataMapper::repository
is_singleton: true
name: repository
params: (name = nil) {|*block_args| ...}
visibility: public
