Class: CephStorage::PoolFactory
- Inherits:
-
CephRuby::Pool
- Object
- CephRuby::Pool
- CephStorage::PoolFactory
- Defined in:
- lib/ceph_storage/pool_factory.rb
Overview
Creates a Pool Object Returns only a single pool object out of the cartridges available
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.build(cluster, name) {|p| ... } ⇒ Object
6 7 8 9 10 |
# File 'lib/ceph_storage/pool_factory.rb', line 6 def build(cluster, name) p = CephStorage::Pool.new(cluster, name) yield(p) if block_given? p end |