summaryrefslogtreecommitdiffstats
path: root/lib/puppet/event.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-07-11 20:20:32 +0000
committerLuke Kanies <luke@madstop.com>2005-07-11 20:20:32 +0000
commit256b84e9fae36865ba9eae247ffceae91ce36aa3 (patch)
treef0eddca52a65979e4f85d0c47a712d6073c38f84 /lib/puppet/event.rb
parentd14dc32d1800e61a4b509ab8410c848ae472bdd1 (diff)
downloadpuppet-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.rb5
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