Add Ruby implementation

TODO: [Ruby] Read from file