Answers for "how to compare string in ruby"

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 "how to compare string in ruby"

Browse Popular Code Answers by Language