Class: Grabli::Intruder
- Inherits:
-
Struct
- Object
- Struct
- Grabli::Intruder
- Defined in:
- lib/grabli.rb
Overview
When no subject specified by the user or the subject is a Symbol, we pass that object as a subject.
If the subject isn’t used it means we can add this permission as allowed. If it’s used, CURRENTLY, we assume that the given permission isn’t allowed.
Instance Attribute Summary collapse
-
#intruded ⇒ Object
Returns the value of attribute intruded.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing ⇒ Object
83 84 85 86 |
# File 'lib/grabli.rb', line 83 def method_missing(*) self[:intruded] = true self end |
Instance Attribute Details
#intruded ⇒ Object
Returns the value of attribute intruded
82 83 84 |
# File 'lib/grabli.rb', line 82 def intruded @intruded end |