lib/yard/handlers/ruby/legacy/module_handler.rb in yard-0.9.18 vs lib/yard/handlers/ruby/legacy/module_handler.rb in yard-0.9.19
- old
+ new
@@ -1,12 +1,12 @@
-# frozen_string_literal: true
-# (see Ruby::ModuleHandler)
-class YARD::Handlers::Ruby::Legacy::ModuleHandler < YARD::Handlers::Ruby::Legacy::Base
- handles TkMODULE
- namespace_only
-
- process do
- modname = statement.tokens.to_s[/^module\s+(#{NAMESPACEMATCH})/, 1]
- mod = register ModuleObject.new(namespace, modname)
- parse_block(:namespace => mod)
- end
-end
+# frozen_string_literal: true
+# (see Ruby::ModuleHandler)
+class YARD::Handlers::Ruby::Legacy::ModuleHandler < YARD::Handlers::Ruby::Legacy::Base
+ handles TkMODULE
+ namespace_only
+
+ process do
+ modname = statement.tokens.to_s[/^module\s+(#{NAMESPACEMATCH})/, 1]
+ mod = register ModuleObject.new(namespace, modname)
+ parse_block(:namespace => mod)
+ end
+end