File indexing completed on 2024-05-19 04:38:18

0001 $: << File.expand_path(File.dirname(__FILE__) + 'lib')
0002 
0003 $global = 0
0004 if $-a
0005   puts '-a option is set'
0006 end
0007 
0008 begin
0009   1/0
0010 rescue
0011   puts $!
0012 end
0013 
0014 # (global) vars starting with $
0015 $!
0016 $@
0017 $;
0018 $,
0019 $/
0020 $\
0021 $.
0022 $_
0023 $>
0024 $<
0025 $$
0026 $?
0027 $~
0028 $= # deprecated
0029 $*
0030 $&
0031 $`
0032 $'
0033 $+
0034     
0035 a = $120