diff options
Diffstat (limited to 'lib/chef/role.rb')
-rw-r--r-- | lib/chef/role.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/role.rb b/lib/chef/role.rb index 6125139ffe..9142f85d15 100644 --- a/lib/chef/role.rb +++ b/lib/chef/role.rb @@ -133,7 +133,7 @@ class Chef def to_h env_run_lists_without_default = @env_run_lists.dup env_run_lists_without_default.delete("_default") - result = { + { "name" => @name, "description" => @description, "json_class" => self.class.name, @@ -149,7 +149,6 @@ class Chef accumulator end, } - result end alias_method :to_hash, :to_h |