Sha256: 4b6e32483fc430bfb46de634fc1622c0500bb779811913fab8e09f3ec628ef24
Contents?: true
Size: 474 Bytes
Versions: 35
Compression:
Stored size: 474 Bytes
Contents
module Ddr module Auth module Roles class RoleType attr_reader :title, :description, :permissions alias_method :label, :title def initialize(title, description, permissions) @title = title.freeze @description = description.freeze @permissions = permissions.freeze freeze end def to_s title end # alias_method :to_str, :to_s end end end end
Version data entries
35 entries across 35 versions & 1 rubygems