Skip to content

Instantly share code, notes, and snippets.

@meltzerj
Created May 1, 2011 04:52
Show Gist options
  • Select an option

  • Save meltzerj/950260 to your computer and use it in GitHub Desktop.

Select an option

Save meltzerj/950260 to your computer and use it in GitHub Desktop.
>> rand(20..30)
TypeError: can't convert Range into Integer
from (irb):6:in `rand'
from (irb):6
from :0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment