Module: TinyCore::Role::Admin
- Includes:
- TinyCore::Role
- Defined in:
- lib/tiny_core/role/admin.rb
Instance Method Summary collapse
Methods included from TinyCore::Role
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/tiny_core/role/admin.rb', line 8 def method_missing(method, *args) if method.to_s =~ /^can_.*\?$/ true else super end end |