Feature #4222 » tab-completion-for-rare-method-invocation-syntax.patch
| lib/irb/completion.rb (cópia de trabalho) | ||
|---|---|---|
|
# when /^(\$?(\.?[^.]+)+)\.([^.]*)$/
|
||
|
# when /^((\.?[^.]+)+)\.([^.]*)$/
|
||
|
when /^([^."].*)\.([^.]*)$/
|
||
|
# when /^([^."].*)\.([^.]*)$/
|
||
|
when /^([^."].*)(?:\.|::)([^.]*)$/
|
||
|
# variable
|
||
|
receiver = $1
|
||
|
message = Regexp.quote($2)
|
||