lib/rubysmith/cli/actions/simple_cov.rb in rubysmith-6.10.0 vs lib/rubysmith/cli/actions/simple_cov.rb in rubysmith-7.0.0

- old
+ new

@@ -5,18 +5,18 @@ module Rubysmith module CLI module Actions # Stores SimpleCov flag. class SimpleCov < Sod::Action - include Import[:input] + include Import[:settings] description "Add SimpleCov gem." on "--[no-]simple_cov" - default { Container[:configuration].build_simple_cov } + default { Container[:settings].build_simple_cov } - def call(value = nil) = input.build_simple_cov = value + def call(value = nil) = settings.build_simple_cov = value end end end end