diff options
Diffstat (limited to 'lib/chef/json_compat.rb')
-rw-r--r-- | lib/chef/json_compat.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chef/json_compat.rb b/lib/chef/json_compat.rb index 79b86a4a37..91baf68242 100644 --- a/lib/chef/json_compat.rb +++ b/lib/chef/json_compat.rb @@ -44,7 +44,6 @@ class Chef CHEF_RUNLISTEXPANSION = "Chef::RunListExpansion".freeze class <<self - # API to use to avoid create_addtions def parse(source, opts = {}) begin @@ -88,7 +87,7 @@ class Chef mapped_hash end when Array - json_obj.map {|e| map_to_rb_obj(e) } + json_obj.map { |e| map_to_rb_obj(e) } else json_obj end @@ -158,7 +157,6 @@ class Chef raise Chef::Exceptions::JSON::ParseError, "Unsupported `json_class` type '#{json_class}'" end end - end end end |