lib/yard/handlers/ruby/yield_handler.rb in yard-0.5.8 vs lib/yard/handlers/ruby/yield_handler.rb in yard-0.6.0
- old
+ new
@@ -1,4 +1,5 @@
+# Handles 'yield' calls
class YARD::Handlers::Ruby::YieldHandler < YARD::Handlers::Ruby::Base
handles :yield, :yield0
process do
return unless owner.is_a?(MethodObject) # Only methods yield
\ No newline at end of file