Sha256: b3dbf8da7d78d4baa71754d9fd0b78615e5ea08e4eb826cf0655aa75c3b6505c
Contents?: true
Size: 196 Bytes
Versions: 175
Compression:
Stored size: 196 Bytes
Contents
class Range def reverse first = self.first last = self.last last..first end def to_a a = super if a.empty? reverse.to_a.reverse else a end end end
Version data entries
175 entries across 175 versions & 1 rubygems