Method: Puppet::Interface#to_s

Defined in:
lib/puppet/interface.rb

#to_sString

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

Returns:

  • (String)


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

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