Exception: Pageflow::EditLock::HeldByOtherUserError
- Defined in:
- app/models/pageflow/edit_lock.rb
Instance Attribute Summary collapse
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(user) ⇒ HeldByOtherUserError
constructor
A new instance of HeldByOtherUserError.
Methods inherited from Error
Constructor Details
#initialize(user) ⇒ HeldByOtherUserError
Returns a new instance of HeldByOtherUserError.
16 17 18 |
# File 'app/models/pageflow/edit_lock.rb', line 16 def initialize(user) @user = user end |
Instance Attribute Details
#user ⇒ Object (readonly)
Returns the value of attribute user.
14 15 16 |
# File 'app/models/pageflow/edit_lock.rb', line 14 def user @user end |