Class: Ibrain::Role
- Inherits:
-
Base
- Object
- ActiveRecord::Base
- ApplicationRecord
- Base
- Ibrain::Role
- Defined in:
- app/models/ibrain/role.rb
Constant Summary
Constants inherited from Base
Instance Method Summary collapse
Methods inherited from Base
adjust_date_for_cdt, #created_in_word, #cryptor, display_includes, paginate, permitted_attributes, #string_id
Instance Method Details
#admin? ⇒ Boolean
10 11 12 |
# File 'app/models/ibrain/role.rb', line 10 def admin? name == "admin" end |