lib/yard/handlers/ruby/legacy/module_handler.rb in yard-0.9.5 vs lib/yard/handlers/ruby/legacy/module_handler.rb in yard-0.9.6
- old
+ new
@@ -1,11 +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
\ No newline at end of file
+end