Sha256: 3fd5284241648b074dc30a0bd47d9d77e67a991ecd186777f605977a58ee54f8
Contents?: true
Size: 306 Bytes
Versions: 12
Compression:
Stored size: 306 Bytes
Contents
module Vindetta class Vin class Vds attr_reader :value def initialize(vin) @vin = vin end def value @vin[3..7].join("") end alias eql? == def ==(other) self.class == other.class && value == other.value end end end end
Version data entries
12 entries across 12 versions & 1 rubygems