Skip to content

Instantly share code, notes, and snippets.

@jeremy
Created March 20, 2009 22:21
Show Gist options
  • Save jeremy/82617 to your computer and use it in GitHub Desktop.
Save jeremy/82617 to your computer and use it in GitHub Desktop.
$ ruby-1.9 -e "module A; B = 1 end; class C; include A end; puts C.constants(false).inspect"
[]
$ jruby --1.9 -e "module A; B = 1 end; class C; include A end; puts C.constants(false).inspect"
:1:in `constants': wrong # of arguments(1 for 0) (ArgumentError)
from :1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment