lib/rubysmith/cli/actions/guard.rb in rubysmith-6.10.0 vs lib/rubysmith/cli/actions/guard.rb in rubysmith-7.0.0
- old
+ new
@@ -5,18 +5,18 @@
module Rubysmith
module CLI
module Actions
# Stores Guard flag.
class Guard < Sod::Action
- include Import[:input]
+ include Import[:settings]
description "Add Guard gem."
on "--[no-]guard"
- default { Container[:configuration].build_guard }
+ default { Container[:settings].build_guard }
- def call(value = nil) = input.build_guard = value
+ def call(value = nil) = settings.build_guard = value
end
end
end
end