Skip to content

Commit

Permalink
Fix yard documentation (#923)
Browse files Browse the repository at this point in the history
Co-authored-by: taki <taki@users.noreply.github.com>
  • Loading branch information
taki and Taki committed Mar 26, 2020
1 parent 69a20c7 commit e6aa20e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/money/money/arithmetic.rb
Expand Up @@ -46,7 +46,7 @@ def eql?(other_money)
# Compares two Money objects. If money objects have a different currency it
# will attempt to convert the currency.
#
# @param [Money] other_money Value to compare with.
# @param [Money] other Value to compare with.
#
# @return [Integer]
#
Expand Down Expand Up @@ -103,7 +103,7 @@ def negative?
# values. If +other_money+ has a different currency then its monetary value
# is automatically exchanged to this object's currency using +exchange_to+.
#
# @param [Money] other_money Other +Money+ object to add.
# @param [Money] other Other +Money+ object to add.
#
# @return [Money]
#
Expand All @@ -116,7 +116,7 @@ def negative?
# its monetary value is automatically exchanged to this object's currency
# using +exchange_to+.
#
# @param [Money] other_money Other +Money+ object to subtract.
# @param [Money] other Other +Money+ object to subtract.
#
# @return [Money]
#
Expand Down
2 changes: 1 addition & 1 deletion lib/money/rates_store/memory.rb
Expand Up @@ -19,7 +19,7 @@ class Memory
#
# @param [Hash] opts Optional store options.
# @option opts [Boolean] :without_mutex disables the usage of a mutex
# @param [Hash] rt Optional initial exchange rate data.
# @param [Hash] rates Optional initial exchange rate data.
def initialize(opts = {}, rates = {})
@rates = rates
@options = opts
Expand Down

0 comments on commit e6aa20e

Please sign in to comment.