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