lib/clamp/subcommand/execution.rb in clamp-1.0.0 vs lib/clamp/subcommand/execution.rb in clamp-1.0.1

- old
+ new

@@ -5,16 +5,16 @@ # override default Command behaviour def execute # delegate to subcommand - subcommand = instatiate_subcommand(subcommand_name) + subcommand = instantiate_subcommand(subcommand_name) subcommand.run(subcommand_arguments) end private - def instatiate_subcommand(name) + def instantiate_subcommand(name) subcommand_class = find_subcommand_class(name) parent_attribute_values = {} self.class.inheritable_attributes.each do |attribute| if attribute.of(self).defined? parent_attribute_values[attribute] = attribute.of(self).get