Sha256: 2f32c3fa8cba8f84c2669ed7dc8415a14d395e9866bdde23c2d7351923c9d2b1
Contents?: true
Size: 262 Bytes
Versions: 20
Compression:
Stored size: 262 Bytes
Contents
class Numeric # Returns the distance between self an another value. # This is the same as #- but it provides an alternative # for common naming between variant classes. # # 4.distance(3) #=> 1 # def distance(other) self - other end end
Version data entries
20 entries across 19 versions & 2 rubygems