Implementation of the ISO 7813 standard in Ruby