Skip to content

Instantly share code, notes, and snippets.

View quotha's full-sized avatar

Dave De Carlo quotha

View GitHub Profile

Keybase proof

I hereby claim:

  • I am quotha on github.
  • I am quotha (https://keybase.io/quotha) on keybase.
  • I have a public key is ASCwjMzG5lBLqMx8vn8kkThmyZ-hOnYIfO0y_yLs-jYCkAo

To claim this, I am signing this object:

@quotha
quotha / revv.rb
Created April 25, 2014 16:48
Reverse a string
def reverse_string front, back=""
if front.size > 1
reverse_string front[0..front.size-2], (back + front[front.size-1])
else
back + front
end
end