lib/reek/block_context.rb in kevinrutherford-reek-1.1.3.10 vs lib/reek/block_context.rb in kevinrutherford-reek-1.1.3.11
- old
+ new
@@ -9,10 +9,10 @@
return (@names = []) if empty?
arg = slice(1)
case slice(0)
when :masgn
@names = arg[1..-1].map {|lasgn| Name.new(lasgn[1]) }
- when :lasgn
+ when :lasgn, :iasgn
@names = [Name.new(arg)]
end
end
def include?(name)