lib/yard/handlers/ruby/method_handler.rb in yard-0.5.3 vs lib/yard/handlers/ruby/method_handler.rb in yard-0.5.4
- old
+ new
@@ -1,8 +1,8 @@
class YARD::Handlers::Ruby::MethodHandler < YARD::Handlers::Ruby::Base
handles :def, :defs
- def process
+ process do
nobj = namespace
mscope = scope
if statement.type == :defs
meth = statement[2][0]
nobj = P(namespace, statement[0].source) unless statement[0].source == "self"
\ No newline at end of file