Posts by Rafael • 41 points
1 post
-
4
votes2
answers150
viewsQ: Map method does not work as expected
I’m studying Ruby (no Rails, for now). And I’m on the following scenario: agenda.Rb require 'set' class Agenda def initialize @contatos = Set.new end def contatos @contatos.to_a end def…