Sha256: 633c6eab7ccd04d2f67adb61e82973da942ea98f759212f57019b9046f3ec221
Contents?: true
Size: 267 Bytes
Versions: 4
Compression:
Stored size: 267 Bytes
Contents
# encoding: utf-8 module Sunrise module Models class RoleType def initialize(code) @code = code.to_sym end attr_reader :code def title I18n.t(@code, :scope => [:manage, :role, :kind]) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems