lib/3llo/board_command_factory.rb in 3llo-0.2.0 vs lib/3llo/board_command_factory.rb in 3llo-0.3.0
- old
+ new
@@ -2,13 +2,12 @@
require '3llo/commands/board/select'
require '3llo/commands/board/invalid'
module Tr3llo
class BoardCommandFactory
- def initialize(subcommand, args)
+ def initialize(subcommand, _)
@subcommand = subcommand
- @args = args
end
def factory
case subcommand
when 'list'
@@ -21,8 +20,8 @@
end
end
private
- attr_reader :subcommand, :args
+ attr_reader :subcommand
end
end