Added ID 001 Ruby implementation