Avoide error at weired indentation of Ruby code.
This commit is contained in:

committed by
holmberg556

parent
3fcf7d7d27
commit
9e417d8700
@ -46,7 +46,7 @@ module Cmdtest
|
||||
for key in @new_filter.keys.sort
|
||||
f.puts "%s\t%s" % [
|
||||
key,
|
||||
@new_filter[key],
|
||||
@new_filter[key] || "unknown",
|
||||
]
|
||||
end
|
||||
end
|
||||
@ -102,7 +102,7 @@ module Cmdtest
|
||||
method_i = i
|
||||
## p [:method_begin, method]
|
||||
|
||||
when method && line =~ /^#{method_indent}end\b/ #...
|
||||
when klass && method && line =~ /^#{method_indent}end\b/ #...
|
||||
## p [:method_end, method]
|
||||
key = _method_key(file, klass, method)
|
||||
method_signatures[key] = _method_signature(lines[method_i..i])
|
||||
|
Reference in New Issue
Block a user