lib/yard/handlers/ruby/legacy/extend_handler.rb in yard-0.9.5 vs lib/yard/handlers/ruby/legacy/extend_handler.rb in yard-0.9.6
- old
+ new
@@ -1,7 +1,8 @@
+# frozen_string_literal: true
# (see Ruby::ExtendHandler)
class YARD::Handlers::Ruby::Legacy::ExtendHandler < YARD::Handlers::Ruby::Legacy::MixinHandler
- handles /\Aextend(\s|\()/
+ handles(/\Aextend(\s|\()/)
namespace_only
def scope; :class end
private