module LVM::Wrapper::Reporting

Public Class Methods

build_command(expected_attributes, base) click to toggle source
# File lib/lvm/wrapper.rb, line 41
def build_command(expected_attributes, base)
  opts = []
  expected_attributes.each do |a|
    opts << a[:column]
  end
  
  return base % opts.join(",")
end

Private Instance Methods

build_command(expected_attributes, base) click to toggle source
# File lib/lvm/wrapper.rb, line 41
def build_command(expected_attributes, base)
  opts = []
  expected_attributes.each do |a|
    opts << a[:column]
  end
  
  return base % opts.join(",")
end