Class: Pundit::Matchers::Configuration
- Inherits:
-
Object
- Object
- Pundit::Matchers::Configuration
- Defined in:
- lib/pundit/matchers.rb
Instance Attribute Summary collapse
-
#user_alias ⇒ Object
Returns the value of attribute user_alias.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
14 15 16 |
# File 'lib/pundit/matchers.rb', line 14 def initialize @user_alias = :user end |
Instance Attribute Details
#user_alias ⇒ Object
Returns the value of attribute user_alias.
12 13 14 |
# File 'lib/pundit/matchers.rb', line 12 def user_alias @user_alias end |