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

- old
+ new

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