Class: PuppetX::PuppetLabs::IIS::Property::WholeNumber

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

Overview

WholeNumber Property

Instance Method Summary collapse

Instance Method Details

#insync?(is) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/puppet_x/puppetlabs/iis/property/whole_number.rb', line 9

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