Skip to content

Commit

Permalink
Use JSON.parse instead of JSON.load
Browse files Browse the repository at this point in the history
Per Rubocop recommendation
  • Loading branch information
rossta committed Nov 20, 2016
1 parent 30a0b7e commit baba4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/montrose/recurrence.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def dump(obj)
end

def load(json)
new JSON.load(json)
new JSON.parse(json)
end
end

Expand Down

0 comments on commit baba4b5

Please sign in to comment.