Skip to content

Instantly share code, notes, and snippets.

@dpick
Created August 8, 2011 17:48
Show Gist options
  • Save dpick/1132282 to your computer and use it in GitHub Desktop.
Save dpick/1132282 to your computer and use it in GitHub Desktop.
def blah(input)
if input.class != Array
return [input]
else
return input
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment