Signed-off-by: Luke Kanies <[email protected]>
---
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 dbbb9a8..a5be3af 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
--
1.6.1
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---