Open dgsuarez opened 5 years ago
class Test class << self def some_method a = 2 * 2 a * 3 end end end
extracting the a = 2 * 2 results in
a = 2 * 2
class Test class << self def some_method a = extracted a * 3 end end def extracted 2 * 2 end end
It should be
class Test class << self def some_method a = extracted a * 3 end def extracted 2 * 2 end end end
extracting the
a = 2 * 2
results inIt should be