Skip to content

Commit

Permalink
Merge pull request #89 from Shopify/comment_out_deprecation_message
Browse files Browse the repository at this point in the history
Comment out deprecation message
  • Loading branch information
jasonhl committed Aug 16, 2017
2 parents b987e34 + 8ec6696 commit be985d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/money/money.rb
Expand Up @@ -84,8 +84,7 @@ def encode_with(coder)
end

def cents
Money.deprecate('`money.cents` is deprecated and will be removed in the next major release.
Please use `money.subunits` instead. Keep in mind, subunits are currency aware.')
# Money.deprecate('`money.cents` is deprecated and will be removed in the next major release. Please use `money.subunits` instead. Keep in mind, subunits are currency aware.')
(value * 100).to_i
end

Expand Down

0 comments on commit be985d0

Please sign in to comment.