Method: NFC::ISO14443A#to_s

Defined in:
lib/nfc/iso14443a.rb

#to_s(join_string = '') ⇒ Object

Get the UID as a hex string



23
24
25
# File 'lib/nfc/iso14443a.rb', line 23

def to_s join_string = ''
  sprintf((['%02x'] * szUidLen).join(join_string), * uid).upcase
end