Method: Puppet::Interface#to_s

Defined in:
lib/puppet/interface.rb

#to_sString Also known as: inspect

Returns a string representation with the face’s name and version

Returns:

  • (String)


179
180
181
# File 'lib/puppet/interface.rb', line 179

def to_s
  "Puppet::Face[#{name.inspect}, #{version.inspect}]"
end