Kernel.binding should be equivalent to binding in 1.9 mode. #1921

Closed
ConradIrwin opened this Issue Sep 24, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

ConradIrwin commented Sep 24, 2012

puts (defined?(RUBY_ENGINE) && RUBY_ENGINE || 'mri') + "(" + RUBY_VERSION + ") " + Kernel.binding.eval('self').to_s
ruby(1.8.7) Kernel
rbx(1.8.7) Kernel
mri(1.8.7) Kernel
jruby(1.8.7) Kernel

ruby(2.0.0) main
jruby(1.9.3) main
ruby(1.9.3) main
ruby(1.9.2) main
rbx(1.9.3) Kernel <-- oops!

@dbussink dbussink closed this in #2369 May 31, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment