lib/rubysmith/cli/actions/setup.rb in rubysmith-5.1.0 vs lib/rubysmith/cli/actions/setup.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 setup flag.
class Setup < Sod::Action
include Import[:input]
- using ::Refinements::Structs
-
description "Add setup script."
on "--[no-]setup"
default { Container[:configuration].build_setup }
- def call(value = default) = input.merge!(build_setup: value)
+ def call(value = default) = input.build_setup = value
end
end
end
end