Class: Puppet::Property::Boolean

Inherits:
Puppet::Property
  • Object
show all
Includes:
PuppetX::Util::Boolean
Defined in:
lib/puppet/property/boolean.rb

Instance Method Summary collapse

Methods included from PuppetX::Util::Boolean

defaultvalues

Methods included from PuppetX::Util::Boolean::Ontology

#false_values, #munge, #true_values

Instance Method Details

#insync?(is) ⇒ Boolean

Determine if the boolean property is in sync.

Returns:



14
15
16
# File 'lib/puppet/property/boolean.rb', line 14

def insync?(is)
  munge(is) == should
end