Class: ReeDao::Connections

Inherits:
Object
  • Object
show all
Includes:
Ree::BeanDSL
Defined in:
lib/ree_lib/packages/ree_dao/package/ree_dao/beans/connections.rb

Instance Method Summary collapse

Instance Method Details

#add(connection) ⇒ Object



13
14
15
# File 'lib/ree_lib/packages/ree_dao/package/ree_dao/beans/connections.rb', line 13

def add(connection)
  @connections.push(connection)
end

#allObject



17
18
19
# File 'lib/ree_lib/packages/ree_dao/package/ree_dao/beans/connections.rb', line 17

def all
  @connections
end

#setupObject



9
10
11
# File 'lib/ree_lib/packages/ree_dao/package/ree_dao/beans/connections.rb', line 9

def setup
  @connections = []
end