Class: PuppetX::PuppetLabs::IIS::Property::Path

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

Overview

path Property

Instance Method Summary collapse

Instance Method Details

#property_matches?(current, desired) ⇒ Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/puppet_x/puppetlabs/iis/property/path.rb', line 19

def property_matches?(current, desired)
  current.casecmp(desired.downcase).zero?
end