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