Skip to content

Instantly share code, notes, and snippets.

@tagrudev
Created January 14, 2013 12:58
Show Gist options
  • Save tagrudev/4529886 to your computer and use it in GitHub Desktop.
Save tagrudev/4529886 to your computer and use it in GitHub Desktop.
wut
str = (0...MAX_NUM).map { |n| n.en.numwords }.join.gsub(/ and /, "").gsub(/\W/, "")
NoMethodError: undefined method `en' for 0:Fixnum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment