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

- old
+ new

@@ -1,10 +1,10 @@ class YARD::Handlers::Ruby::VisibilityHandler < YARD::Handlers::Ruby::Base handles method_call(:private) handles method_call(:protected) handles method_call(:public) - def process + process do return if (ident = statement.jump(:ident)) == statement case statement.type when :var_ref self.visibility = ident.first when :fcall, :command \ No newline at end of file