blob: 9c44a23a2ccfaa88162d59c98407bc72381384b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
module ForSpecs
class ForInClassMethod
m = :same_variable_set_outside
def self.foo
all = []
for m in [:bar, :baz]
all << m
end
all
end
READER = -> { m }
end
end
|