how is the string reverse function implemented in ruby [duplicate]

>> "Hello world".reverse
=> "dlrow olleH"

Leave a Comment