diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-10-02 23:40:37 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-10-02 23:40:37 -0700 |
commit | 7d522257ee2aea242406fa8e9ae4dcbf61bcb7a7 (patch) | |
tree | da52ab9f3b112c61046f919bfccfbb15e3bf519e /lib/chef/resource_definition.rb | |
parent | 5be8769c6748e22fa5b3df0a1132cea2cc00ed72 (diff) | |
download | chef-7d522257ee2aea242406fa8e9ae4dcbf61bcb7a7.tar.gz |
Adding a to_s method to definitions
Diffstat (limited to 'lib/chef/resource_definition.rb')
-rw-r--r-- | lib/chef/resource_definition.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/resource_definition.rb b/lib/chef/resource_definition.rb index 85466b8541..9a0a9cb09a 100644 --- a/lib/chef/resource_definition.rb +++ b/lib/chef/resource_definition.rb @@ -60,5 +60,8 @@ class Chef @params[symbol] = args.length == 1 ? args[0] : args end + def to_s + "#{name.to_s}" + end end end
\ No newline at end of file |