lib/infect/command.rb in infect-0.0.4 vs lib/infect/command.rb in infect-0.0.5
- old
+ new
@@ -3,13 +3,13 @@
module Infect
class Command
include Infect::Colorize
- def self.build(command, args)
+ def self.build(command, arg ,opts)
case command.to_sym
when :bundle
- Bundle.new(args)
+ Bundle.new(arg, opts)
else
$stderr.puts "WARNING: #{command} is not a valid command, ignorning"
end
end