ruby-points
Install
gem install hexlet-points
Usage example
require 'points'
point = Point.make(4, 5)
puts get_x(point) # => 4
puts get_y(point) # => 5
puts get_quadrant(point) # => 1
puts to_string(point) # => '(4, 5)'
This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet (in Russian).