gem install hexlet-pairsrequire 'pairs'
pair = Pairs.cons(3, 5)
puts Pairs.pair?(pair) # => true
puts Pairs.car(pair) # => 3
puts Pairs.cdr(pair) # => 5
puts Pairs.to_string(pair) # => '(3, 5)'This repository is created and maintained by the team and the community of Hexlet, an educational project. Read more about Hexlet.
See most active contributors on hexlet-friends.
