diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-09 10:04:58 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-09 10:04:58 -0700 |
commit | adbb0fa85cc45b93ba91dc3019094b312cafb35c (patch) | |
tree | 3641e4a23139497a2bd6c3f29af00acad1427beb /lib/chef/role.rb | |
parent | 54db1bedbc0a8d00e3b1fc12c50658f1d48b7a6e (diff) | |
download | chef-adbb0fa85cc45b93ba91dc3019094b312cafb35c.tar.gz |
remove #to_json Monkeypatching
Diffstat (limited to 'lib/chef/role.rb')
-rw-r--r-- | lib/chef/role.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/role.rb b/lib/chef/role.rb index 57f3a2aa29..232a7e18cd 100644 --- a/lib/chef/role.rb +++ b/lib/chef/role.rb @@ -143,7 +143,7 @@ class Chef # Serialize this object as a hash def to_json(*a) - to_hash.to_json(*a) + ::Chef::JSONCompat.to_json(to_hash, *a) end def update_from!(o) |