lib/rubysmith/cli/actions/debug.rb in rubysmith-5.1.0 vs lib/rubysmith/cli/actions/debug.rb in rubysmith-5.2.0

- old
+ new

@@ -1,25 +1,22 @@ # frozen_string_literal: true -require "refinements/structs" require "sod" module Rubysmith module CLI module Actions # Stores Debug flag. class Debug < Sod::Action include Import[:input] - using ::Refinements::Structs - description "Add Debug gem." on "--[no-]debug" default { Container[:configuration].build_debug } - def call(value = default) = input.merge!(build_debug: value) + def call(value = default) = input.build_debug = value end end end end