Class: UfidParser::UFID
- Inherits:
-
Object
- Object
- UfidParser::UFID
- Defined in:
- lib/ufid_parser.rb
Instance Attribute Summary collapse
-
#ufid_number ⇒ Object
Returns the value of attribute ufid_number.
Instance Method Summary collapse
-
#initialize(str) ⇒ UFID
constructor
A new instance of UFID.
Constructor Details
#initialize(str) ⇒ UFID
Returns a new instance of UFID.
7 8 9 |
# File 'lib/ufid_parser.rb', line 7 def initialize(str) @ufid_number = parse_ufid_number(str) end |
Instance Attribute Details
#ufid_number ⇒ Object
Returns the value of attribute ufid_number.
5 6 7 |
# File 'lib/ufid_parser.rb', line 5 def ufid_number @ufid_number end |