gitlab-org--gitlab-foss/app/models/concerns/protected_branch_access.rb

8 lines
141 B
Ruby

module ProtectedBranchAccess
extend ActiveSupport::Concern
def humanize
self.class.human_access_levels[self.access_level]
end
end