diff options
author | Luke Kanies <luke@madstop.com> | 2005-07-11 20:20:32 +0000 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2005-07-11 20:20:32 +0000 |
commit | 256b84e9fae36865ba9eae247ffceae91ce36aa3 (patch) | |
tree | f0eddca52a65979e4f85d0c47a712d6073c38f84 /lib/puppet/event.rb | |
parent | d14dc32d1800e61a4b509ab8410c848ae472bdd1 (diff) | |
download | puppet-256b84e9fae36865ba9eae247ffceae91ce36aa3.tar.gz puppet-256b84e9fae36865ba9eae247ffceae91ce36aa3.tar.xz puppet-256b84e9fae36865ba9eae247ffceae91ce36aa3.zip |
adding a to_s method
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@356 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/event.rb')
-rw-r--r-- | lib/puppet/event.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/puppet/event.rb b/lib/puppet/event.rb index 61efc52de..ad87bb0d3 100644 --- a/lib/puppet/event.rb +++ b/lib/puppet/event.rb @@ -114,6 +114,10 @@ module Puppet # to be handled as a batch @@events.push self end + + def to_s + return self.event + end end end @@ -197,5 +201,4 @@ class Puppet::NotUsed end #--------------------------------------------------------------- - #--------------------------------------------------------------- end # Puppet::Type |