RubyGems
npm
Organizations
Log in
Sign up
RubyGems
SnowArraySort
Versions diffs
1.0.3 → 1.0.4
SnowArraySort 1.0.3 → 1.0.4
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (3)
hide
show
data/lib/SnowArraySort/asc_desc_array_sort_snow.rb
+6
-1
data/lib/SnowArraySort/version.rb
+1
-1
metadata
+1
-1
data/lib/SnowArraySort/asc_desc_array_sort_snow.rb
CHANGED
Viewed
@@ -1,9 +1,14 @@
1
1
module SnowArraySort
2
2
class SnowAD
3
3
include SnowArraySort
4
-
def <=>(
entries
)
4
+
def <=>(
other
)
5
5
-super
6
6
end
7
+
8
+
def self.snowsort
9
+
<=>(other)
10
+
-super
11
+
end
7
12
end
8
13
end
9
14
data/lib/SnowArraySort/version.rb
CHANGED
Viewed
@@ -1,4 +1,4 @@
1
1
module SnowArraySort
2
-
VERSION = "1.0.
3
"
2
+
VERSION = "1.0.
4
"
3
3
end
4
4
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: SnowArraySort
3
3
version: !ruby/object:Gem::Version
4
-
version: 1.0.
3
4
+
version: 1.0.
4
5
5
prerelease:
6
6
platform: ruby
7
7
authors: