alch 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/alch.rb +1 -1
- data/lib/item.rb +2 -2
- data/lib/osrs.rb +1 -0
- 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: 023d7fa1d8f2090a253de6320240b5b33c92a636
|
4
|
+
data.tar.gz: fa49ed6a67b5e836dd9100a9ad95c3de8912fa80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad539f5da7cb6ce9171f986ec890c9d0ed322901c6e9023524cf1c4ffb9e3a2f2b8755389a9c076d9d4cfe73ba6c37b6d3902fe554c31baf834ebdf1faf129bf
|
7
|
+
data.tar.gz: ef26c67c822d182b399777d343cae7f765824d73387c7f3066fe2c6e8a761de753c49ae804cc3b0de352cc93177eb5e5aa29899aab1988d84716ed218eab7f52
|
data/README.md
CHANGED
data/lib/alch.rb
CHANGED
data/lib/item.rb
CHANGED
@@ -93,14 +93,14 @@ class Item
|
|
93
93
|
end
|
94
94
|
|
95
95
|
# @example Profit from high alching a Rune Dagger
|
96
|
-
# Item.new('rune dagger').
|
96
|
+
# Item.new('rune dagger').high_profit #=> 26
|
97
97
|
# @return the total profit from high alching this Item
|
98
98
|
def high_profit
|
99
99
|
high_alch - (self + Item.new(561))
|
100
100
|
end
|
101
101
|
|
102
102
|
# @example Profit from low alching a Rune Dagger
|
103
|
-
# Item.new('rune dagger').
|
103
|
+
# Item.new('rune dagger').low_profit #=> -1574
|
104
104
|
# @return the total profit from low alching this Item
|
105
105
|
def low_profit
|
106
106
|
low_alch - (self + Item.new(561))
|
data/lib/osrs.rb
CHANGED