lib/boppers/cli.rb in boppers-0.0.10 vs lib/boppers/cli.rb in boppers-0.0.11

- old
+ new

@@ -19,11 +19,11 @@ require options[:require] Runner.new.call end desc "version", "Prints the Boppers version information" - map %w{-v --version} => :version + map %w[-v --version] => :version def version say "Boppers v#{VERSION}" end @@ -34,10 +34,10 @@ required: true def plugin(name) require "boppers/generator/plugin" - unless %w{bopper notifier}.include?(options[:type]) + unless %w[bopper notifier].include?(options[:type]) message = "ERROR: --type needs to be either 'bopper' or 'notifier'" shell.error shell.set_color(message, :red) exit 1 end