module LVM::Volumes

Public Instance Methods

[](name) click to toggle source
# File lib/lvm/volumes.rb, line 3
def [](name)
  each { |o| return o if o.name == name }
  return nil
end
to_s() click to toggle source
# File lib/lvm/volumes.rb, line 8
def to_s
  x = []
  each { |o| x << o.name }
  return x.join(" ")
end