Class: Vindetta::Vin
- Inherits:
-
Object
- Object
- Vindetta::Vin
- Includes:
- ActiveModel::Validations
- Defined in:
- lib/vindetta/vin.rb
Constant Summary collapse
- LENGTH =
17
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ Vin
constructor
A new instance of Vin.
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
#value ⇒ Object (readonly)
Returns the value of attribute value.
8 9 10 |
# File 'lib/vindetta/vin.rb', line 8 def value @value end |