Class: Vindetta::Vin

Inherits:
Object
  • Object
show all
Includes:
ActiveModel::Validations
Defined in:
lib/vindetta/vin.rb

Constant Summary collapse

LENGTH =
17

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ Vin

Returns a new instance of Vin.



13
14
15
# File 'lib/vindetta/vin.rb', line 13

def initialize(value)
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



8
9
10
# File 'lib/vindetta/vin.rb', line 8

def value
  @value
end