Class: Uchi::Context
- Inherits:
-
Object
- Object
- Uchi::Context
- Defined in:
- lib/uchi/context.rb
Overview
Context class for Uchi framework, used to encapsulate request-specific data and state.
Instance Attribute Summary collapse
-
#user ⇒ User?
The user associated with the context.
-
#view ⇒ Uchi::View?
The view associated with the context.
Instance Attribute Details
#user ⇒ User?
Returns the user associated with the context.
8 9 10 |
# File 'lib/uchi/context.rb', line 8 def user @user end |
#view ⇒ Uchi::View?
Returns the view associated with the context.
11 12 13 |
# File 'lib/uchi/context.rb', line 11 def view @view end |