Class: UfidParser::UFID

Inherits:
Object
  • Object
show all
Defined in:
lib/ufid_parser.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_numberObject

Returns the value of attribute ufid_number.



5
6
7
# File 'lib/ufid_parser.rb', line 5

def ufid_number
  @ufid_number
end