module YARD::Templates::Helpers::UMLHelper

def uml_visibility(object)

Returns:
  • (String) - the UML visibility prefix

Parameters:
  • object (CodeObjects::Base) -- the object to retrieve visibility for
def uml_visibility(object)
  case object.visibility
  when :public;    '+'
  when :protected; '#'
  when :private;   '-'
  end
end