lib/rubysmith/cli/parsers/build.rb in rubysmith-4.2.0 vs lib/rubysmith/cli/parsers/build.rb in rubysmith-4.3.0
- old
+ new
@@ -1,7 +1,8 @@
# frozen_string_literal: true
+require "core"
require "refinements/structs"
module Rubysmith
module CLI
module Parsers
@@ -19,10 +20,10 @@
super(**dependencies)
@configuration = configuration
@client = client
end
- def call arguments = []
+ def call arguments = ::Core::EMPTY_ARRAY
client.separator "\nBUILD OPTIONS:\n"
collate
client.parse arguments
configuration
end