Separate Kernel methods with required args from those without

This commit is contained in:
Bozhidar Batsov 2015-03-17 23:40:20 +02:00
parent 771978259e
commit 5b77d81840

View file

@ -2069,25 +2069,14 @@ See `font-lock-syntax-table'.")
ruby-font-lock-keyword-beg-re
(regexp-opt
'( ;; built-in methods on Kernel
"abort"
"at_exit"
"autoload"
"autoload?"
"binding"
"block_given?"
"callcc"
"caller"
"catch"
"eval"
"exec"
"exit"
"exit!"
"fork"
"format"
"global_variables"
"lambda"
"load"
"local_variables"
"loop"
"open"
"p"
@ -2098,10 +2087,8 @@ See `font-lock-syntax-table'.")
"puts"
"require"
"require_relative"
"sleep"
"spawn"
"sprintf"
"srand"
"syscall"
"system"
"throw"
@ -2140,10 +2127,14 @@ See `font-lock-syntax-table'.")
"at_exit"
"binding"
"block_given?"
"callcc"
"caller"
"exit"
"exit!"
"fail"
"fork"
"global_variables"
"local_variables"
"private"
"protected"
"public"