money 6.1.0 → 6.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/money/money.rb +0 -16
- data/lib/money/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 480b95f8096f52348bd524f899d7401a2668a05c
|
4
|
+
data.tar.gz: 632d434f8c8e2e3f849f8f45d512d627c0c06e05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e1e62395c88cbeb0e369ea99499eef99f1fe7bfbc99d1e38d95c998298a2f64dfa197e965050b02abc3d6301bad8cdde601ba291220b4884ff6d46462daa799
|
7
|
+
data.tar.gz: 05dc6ca4711769270130edd4ec05b5a67c4a6023e6db6d12b3a41db65fd26af147553c37ae6f66ec342eaf27f169ef4359e9867862f88b3c0765bd9d419c34b1
|
data/lib/money/money.rb
CHANGED
@@ -97,22 +97,6 @@ class Money
|
|
97
97
|
alias_method :zero, :empty
|
98
98
|
end
|
99
99
|
|
100
|
-
# Set the ability to assume the currency from a passed symbol. (Wrapper for
|
101
|
-
# Monetize.assume_from_symbol.)
|
102
|
-
#
|
103
|
-
# @param [true, false]
|
104
|
-
def self.assume_from_symbol=(value)
|
105
|
-
Monetize.assume_from_symbol = value
|
106
|
-
end
|
107
|
-
|
108
|
-
# Return the ability to assume the currency from a passed symbol. (Wrapper for
|
109
|
-
# Monetize.assume_from_symbol.)
|
110
|
-
#
|
111
|
-
# @param [true, false]
|
112
|
-
def self.assume_from_symbol
|
113
|
-
Monetize.assume_from_symbol
|
114
|
-
end
|
115
|
-
|
116
100
|
def self.default_currency
|
117
101
|
if @default_currency.respond_to?(:call)
|
118
102
|
Money::Currency.new(@default_currency.call)
|
data/lib/money/version.rb
CHANGED