Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 267 Bytes

reversed_strings.md

File metadata and controls

14 lines (11 loc) · 267 Bytes

Description

Complete the solution so that it reverses the string passed into it.

'world' => 'dlrow'
'word' => 'drow'

My Solution

def solution(str)
  str.reverse
end