Class: PuppetX::PuppetLabs::IIS::Property::PositiveInteger

Inherits:
Puppet::Property
  • Object
show all
Defined in:
lib/puppet_x/puppetlabs/iis/property/positive_integer.rb

Overview

PositiveInteger Property

Instance Method Summary collapse

Instance Method Details

#insync?(is) ⇒ Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/puppet_x/puppetlabs/iis/property/positive_integer.rb', line 13

def insync?(is)
  is.to_i == should.to_i
end