Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue