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