lib/yard/handlers/ruby/legacy/method_handler.rb in yard-0.7.5 vs lib/yard/handlers/ruby/legacy/method_handler.rb in yard-0.8.0
- old
+ new
@@ -24,11 +24,9 @@
nobj = P(namespace, prefix) unless prefix == "self"
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
o.explicit = true
o.parameters = args
end
# delete any aliases referencing old method