# File lib/ruby-uuid/uuid.rb, line 252 def version a = unpack v = (a[2] & 0xF000).to_s(16)[0].chr.to_i return v if (1..5).include? v return nil end