lib/yard/handlers/ruby/visibility_handler.rb in yard-0.7.2 vs lib/yard/handlers/ruby/visibility_handler.rb in yard-0.7.3
- old
+ new
@@ -6,10 +6,10 @@
namespace_only
process do
return if (ident = statement.jump(:ident)) == statement
case statement.type
- when :var_ref
+ when :var_ref, :vcall
self.visibility = ident.first
when :fcall, :command
statement[1].traverse do |node|
case node.type
when :symbol; source = node.first.source
\ No newline at end of file