Method: LVM::Wrapper::LVS#initialize

Defined in:
lib/lvm/wrapper/lvs.rb

#initialize(options) ⇒ LVS

Returns a new instance of LVS.



12
13
14
15
# File 'lib/lvm/wrapper/lvs.rb', line 12

def initialize(options)
  @attributes = Attributes.load(options[:version], ATTRIBUTES_FILE)
  @command = "#{options[:command]} #{Reporting.build_command(attributes, BASE_COMMAND)}"
end