Sha256: c04cdb94784e4141ebc22aaf93be4a3d4f283c7058dae6deb3d12c24167fc0cc

Contents?: true

Size: 528 Bytes

Versions: 134

Compression:

Stored size: 528 Bytes

Contents

# The Enumeration class provides default Enumerable::Enumerator creation for Puppet Programming Language
# runtime objects that supports the concept of enumeration.
#
module Puppet::Pops::Types
  class Enumeration
    def self.enumerator(o)
      Puppet.deprecation_warning('Enumeration.enumerator is deprecated. Use Iterable.on instead')
      Iterable.on(o)
    end

    def enumerator(o)
      Puppet.deprecation_warning('Enumeration.enumerator is deprecated. Use Iterable.on instead')
      Iterable.on(o)
    end
  end
end

Version data entries

134 entries across 134 versions & 2 rubygems

Version Path
puppet-retrospec-1.8.0 vendor/pup410/lib/puppet/pops/types/enumeration.rb
puppet-retrospec-1.7.0 vendor/pup410/lib/puppet/pops/types/enumeration.rb
puppet-4.10.12 lib/puppet/pops/types/enumeration.rb
puppet-4.10.12-x86-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-4.10.12-x64-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-4.10.12-universal-darwin lib/puppet/pops/types/enumeration.rb
puppet-4.10.11 lib/puppet/pops/types/enumeration.rb
puppet-4.10.11-x86-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-4.10.11-x64-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-4.10.11-universal-darwin lib/puppet/pops/types/enumeration.rb
puppet-4.10.10 lib/puppet/pops/types/enumeration.rb
puppet-4.10.10-x86-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-4.10.10-x64-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-4.10.10-universal-darwin lib/puppet/pops/types/enumeration.rb
puppet-retrospec-1.6.1 vendor/pup410/lib/puppet/pops/types/enumeration.rb
puppet-retrospec-1.6.0 vendor/pup410/lib/puppet/pops/types/enumeration.rb
puppet-4.10.9 lib/puppet/pops/types/enumeration.rb
puppet-4.10.9-x86-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-4.10.9-x64-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-4.10.9-universal-darwin lib/puppet/pops/types/enumeration.rb