Another update from ingydotnet^djgoku

This commit is contained in:
Ingy döt Net 2015-11-18 06:14:39 +00:00
parent 91df62d461
commit 948b86eafa
7604 changed files with 108452 additions and 22726 deletions

View file

@ -1,2 +1,2 @@
exit if RUBY_VERSION < '1.8.6'
puts bloop.abs if defined?(bloop) and bloop.respond_to?(:abs)
puts bloop.abs if defined?(bloop) and bloop.respond_to?(:abs)

View file

@ -8,8 +8,8 @@ def variable_counter(b)
end
end
Kernel.global_variables.each {|varname| check_var.call(varname, eval(varname))}
eval('local_variables', b).each {|varname| check_var.call(varname, eval(varname, b))}
global_variables.each {|varname| check_var.call(varname, eval(varname.to_s))}
eval('local_variables', b).each {|varname| check_var.call(varname, eval(varname.to_s, b))}
puts "these #{int_vars.length} variables in the global scope are integers:"
puts int_vars.inspect