lib/yard/handlers/ruby/method_handler.rb in yard-0.6.1 vs lib/yard/handlers/ruby/method_handler.rb in yard-0.6.2

- old
+ new

@@ -18,9 +18,10 @@ meth = statement[0][0] args = format_args(statement[1]) blk = statement[2] end + nobj = P(namespace, nobj.value) while nobj.type == :constant obj = register MethodObject.new(nobj, meth, mscope) do |o| o.visibility = visibility o.source = statement.source o.signature = method_signature(meth) o.explicit = true \ No newline at end of file