diff options
author | Luke Kanies <luke@madstop.com> | 2009-08-03 14:34:20 -0700 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-08-04 07:47:11 +1000 |
commit | 401a9ec546adab01afa1a62477010797bf6fb221 (patch) | |
tree | 643aa211ed93c43c6e81d6ff4211d2e25f75750d /lib | |
parent | f6cc59803b32dd1d62cbc5e8ae16ac675ffb296d (diff) | |
download | puppet-401a9ec546adab01afa1a62477010797bf6fb221.tar.gz puppet-401a9ec546adab01afa1a62477010797bf6fb221.tar.xz puppet-401a9ec546adab01afa1a62477010797bf6fb221.zip |
Fixing #2484 - "format missing" messages are better
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/network/format.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/network/format.rb b/lib/puppet/network/format.rb index dbbb9a842..a5be3aff8 100644 --- a/lib/puppet/network/format.rb +++ b/lib/puppet/network/format.rb @@ -109,10 +109,10 @@ class Puppet::Network::Format if type == :class has_method = klass.respond_to?(method) - message = "class does not respond to %s" % method + message = "has not implemented method '%s'" % method else has_method = klass.instance_methods.include?(method) - message = "class instances do not respond to %s" % method + message = "has not implemented instance method '%s'" % method end return true if has_method |