Sha256: 76a01f285ae194c37a2093be26a139ae87e7f5c65bcd82c8e783da971d1ac880
Contents?: true
Size: 203 Bytes
Versions: 3
Compression:
Stored size: 203 Bytes
Contents
module LVM module Volumes def [](name) each { |o| return o if o.name == name } nil end def to_s x = [] each { |o| x << o.name } x.join(" ") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
chef-ruby-lvm-0.4.3 | lib/lvm/volumes.rb |
chef-ruby-lvm-0.4.2 | lib/lvm/volumes.rb |
chef-ruby-lvm-0.4.1 | lib/lvm/volumes.rb |