Skip to content

Commit

Permalink
Minor style tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jremes-foss authored and stympy committed Jul 19, 2016
1 parent a2c17dc commit eeca079
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/faker/date.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def handled_leap_years(top_bound, bottom_bound)

def customized_bound(bound, increase = false)
if (bound % 4) != 0
bound = bound + 1 if increase
bound = bound - 1 unless increase
bound += 1 if increase
bound -= 1 unless increase
customized_bound(bound, increase)
else
bound
Expand Down

0 comments on commit eeca079

Please sign in to comment.