lib/yard/handlers/ruby/legacy/module_handler.rb in yard-0.5.3 vs lib/yard/handlers/ruby/legacy/module_handler.rb in yard-0.5.4
- old
+ new
@@ -1,8 +1,8 @@
class YARD::Handlers::Ruby::Legacy::ModuleHandler < YARD::Handlers::Ruby::Legacy::Base
handles TkMODULE
- def process
+ process do
modname = statement.tokens.to_s[/^module\s+(#{NAMESPACEMATCH})/, 1]
mod = register ModuleObject.new(namespace, modname)
parse_block(:namespace => mod)
end
end
\ No newline at end of file