Sha256: a4e080583369d31126635da2004c565fe18f184a8be7c16a3c0345279a967c89
Contents?: true
Size: 302 Bytes
Versions: 4
Compression:
Stored size: 302 Bytes
Contents
module Guts # Permissions helper module PermissionsHelper # Removes Guts from the authorization string to pretty it # @param [String] item the item to clean # @return [String] the cleaned string def clean_subject_class(item) item.gsub(/Guts::/, '').titleize end end end
Version data entries
4 entries across 4 versions & 1 rubygems