Class: CephRuby::Lib::Rados::PoolStatStruct
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- CephRuby::Lib::Rados::PoolStatStruct
- Defined in:
- lib/ceph-ruby/lib/rados.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Object
135 136 137 138 |
# File 'lib/ceph-ruby/lib/rados.rb', line 135 def to_hash return {} if members.empty? Hash[* members.collect { |m| [m, self[m]] }.flatten!] end |