Method: Puppet::Property::KeyValue#insync?
- Defined in:
- lib/puppet/property/keyvalue.rb
#insync?(is) ⇒ Boolean
Returns true if there is no is value, else returns if is is equal to should using == as comparison.
121 122 123 124 125 |
# File 'lib/puppet/property/keyvalue.rb', line 121 def insync?(is) return true unless is (is == should) end |