Method: Chef::Node::Attribute#normal_unless
- Defined in:
- lib/chef/node/attribute.rb
#normal_unless(*args) ⇒ Object
428 429 430 431 432 |
# File 'lib/chef/node/attribute.rb', line 428 def normal_unless(*args) return Decorator::Unchain.new(self, :normal_unless) unless args.length > 0 write(:normal, *args) if normal.read(*args[0...-1]).nil? end |