Sha256: 93a4dbea9347c979d4d46d20493f3e2bea9795d6130eb22c878c2e0d75cbd548

Contents?: true

Size: 534 Bytes

Versions: 367

Compression:

Stored size: 534 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

367 entries across 367 versions & 2 rubygems

Version Path
puppet-6.29.0 lib/puppet/pops/types/enumeration.rb
puppet-6.29.0-x86-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-6.29.0-x64-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-6.29.0-universal-darwin lib/puppet/pops/types/enumeration.rb
puppet-6.28.0 lib/puppet/pops/types/enumeration.rb
puppet-6.28.0-x86-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-6.28.0-x64-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-6.28.0-universal-darwin lib/puppet/pops/types/enumeration.rb
puppet-6.27.0 lib/puppet/pops/types/enumeration.rb
puppet-6.27.0-x86-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-6.27.0-x64-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-6.27.0-universal-darwin lib/puppet/pops/types/enumeration.rb
puppet-6.26.0 lib/puppet/pops/types/enumeration.rb
puppet-6.26.0-x86-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-6.26.0-x64-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-6.26.0-universal-darwin lib/puppet/pops/types/enumeration.rb
puppet-6.25.1 lib/puppet/pops/types/enumeration.rb
puppet-6.25.1-x86-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-6.25.1-x64-mingw32 lib/puppet/pops/types/enumeration.rb
puppet-6.25.1-universal-darwin lib/puppet/pops/types/enumeration.rb