lib/reek/module_context.rb in reek-1.2.5 vs lib/reek/module_context.rb in reek-1.2.6
- old
+ new
@@ -19,10 +19,11 @@
end
def initialize(outer, name, exp)
super(outer, exp)
@name = name
+ @scope_connector = '::'
@parsed_methods = []
end
def myself
@myself ||= @outer.find_module(@name)
@@ -37,13 +38,9 @@
@parsed_methods.select {|meth| meth.parameters.length >= min_clump_size }
end
def record_method(meth)
@parsed_methods << meth
- end
-
- def outer_name
- "#{@outer.outer_name}#{@name}::"
end
def variable_names
[]
end