lib/balboa/cli/application.rb in balboa-0.1.4 vs lib/balboa/cli/application.rb in balboa-0.1.5

- old
+ new

@@ -5,10 +5,10 @@ class Application CommandNotFound = Class.new(RuntimeError) def initialize(command_id) @command_id = command_id.to_s - @commands = Hash.new { fail CommandNotFound } + @commands = Hash.new { raise CommandNotFound } end def add_command(key, command) @commands[key.to_s] = command end