lib/yard/handlers/ruby/legacy/yield_handler.rb in yard-0.5.3 vs lib/yard/handlers/ruby/legacy/yield_handler.rb in yard-0.5.4

- old
+ new

@@ -1,8 +1,8 @@ class YARD::Handlers::Ruby::Legacy::YieldHandler < YARD::Handlers::Ruby::Legacy::Base handles TkYIELD - def process + process do return unless owner.is_a?(MethodObject) # Only methods yield return if owner.has_tag? :yield # Don't override yield tags return if owner.has_tag? :yieldparam # Same thing. yieldtag = YARD::Tags::Tag.new(:yield, "", []) \ No newline at end of file