Answers for "comparing strings in ruby always gives my false"

1

ruby string equality

hoge = 'hoge'
puts hoge.eql?(hoge) # => true
puts hoge.eql?('hoge') # => true
Posted by: Guest on August-21-2020

Code answers related to "comparing strings in ruby always gives my false"

Browse Popular Code Answers by Language