Class: Lxc::Clone

Inherits:
Object
  • Object
show all
Defined in:
lib/elecksee/clone.rb

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ Clone

Returns a new instance of Clone.



8
9
10
11
12
13
# File 'lib/elecksee/clone.rb', line 8

def initialize(args={})
  args = Mash.new(args)
  %w(original new_name).each do |key|
    raise ArgumentError.new "Missing required parameter: #{key}" unless args[key]
  end
end