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.
17 18 19 |
# File 'app/models/pageflow/edit_lock.rb', line 17 def initialize(user) @user = user end |
Instance Attribute Details
#user ⇒ Object (readonly)
Returns the value of attribute user.
15 16 17 |
# File 'app/models/pageflow/edit_lock.rb', line 15 def user @user end |