Method: Puppet::Pops::Types::TypeFormatter.string

Defined in:
lib/puppet/pops/types/type_formatter.rb

.string(t) ⇒ String

Produces a String representation of the given type.

Parameters:

  • t (PAnyType)

    the type to produce a string form

Returns:

  • (String)

    the type in string form



22
23
24
# File 'lib/puppet/pops/types/type_formatter.rb', line 22

def self.string(t)
  singleton.string(t)
end