Class: Lxc::Clone
- Inherits:
-
Object
- Object
- Lxc::Clone
- Defined in:
- lib/elecksee/clone.rb
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ Clone
constructor
A new instance of Clone.
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 |