caruby-tissue 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +4 -0
- data/lib/catissue/domain/hash_code.rb +1 -3
- data/lib/catissue/version.rb +1 -1
- metadata +1 -1
data/History.txt
CHANGED
|
@@ -7,9 +7,7 @@ module CaTissue
|
|
|
7
7
|
# @return [Integer] a unique hash code
|
|
8
8
|
# @see #==
|
|
9
9
|
def hash
|
|
10
|
-
|
|
11
|
-
# Work-around to the work-around is to make a unique object id in this aberrant case.
|
|
12
|
-
@_hc ||= (Object.new.object_id * 31) + 17
|
|
10
|
+
proxy_object_id * 31 + 17
|
|
13
11
|
end
|
|
14
12
|
|
|
15
13
|
# Returns whether other is of type same type as this object with the same hash as this object.
|
data/lib/catissue/version.rb
CHANGED