I cannot use method .to_h even though my ruby version is 2.4
Strange! Have you tried just testing the to_h
method in pry? Maybe it has something to do with how you are running the specs.
Strange! Have you tried just testing the to_h
method in pry? Maybe it has something to do with how you are running the specs.