A search for 'using' on http://www.ruby-doc.org/core-2.0/index.html returns, well, nothing. So, what is it?
2.0.0p0 :001 > method(:using)
=> #<Method: main.using>
2.0.0p0 :002 > _.source_location
=> nil
So it's some kind of method on main
with no source location. Hmm. Well, the changelog mentions ri ruby:syntax
. Let's try that.
~/code/200-test> ri ruby:syntax | cat
= Pages in ruby core
Right. OK. Let's have a look online.
http://www.ruby-doc.org/core-2.0/doc/syntax_rdoc.html
I still have no idea.
in
eval.c
(https://github.com/ruby/ruby/blob/trunk/eval.c)