Where are these symbols defined, and what are they used for?
:w2_end
:w2_beg
:w1_beg
:w1_end
I found those in my IRB
by using the line Symbol.all_symbols
.
My Ruby
version and IRB
versions are:
C:\>ruby -v
ruby 1.9.3p374 (2013-01-15) [i386-mingw32]
C:\>irb --version
irb 0.9.6(09/06/30)
I tried the same in another Ruby
and IRB
version as below:
C:\>irb --version
irb 0.9.6(09/06/30)
C:\>ruby -v
ruby 1.9.3p392 (2013-02-22) [i386-mingw32]
Arr = Symbol.all_symbols
Arr.include?(:w2_end) #=> true
Arr.include?(:w2_beg) #=> true
Arr.include?(:w1_beg) #=> true
Arr.include?(:w1_end) #=> true