# File lib/yard/tags/directives.rb, line 583 def call if %w(public protected private).include?(tag.text) if object.is_a?(CodeObjects::Base) object.visibility = tag.text.to_sym else parser.state.visibility = tag.text.to_sym end end end