Class: Racket::Current::State
- Inherits:
-
Struct
- Object
- Struct
- Racket::Current::State
- Defined in:
- lib/racket/current.rb
Overview
Holds Racket internal state, available to the controller instance but mostly used for keeping track of things that don’t belong to the actual request.
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#action_result ⇒ Object
Returns the value of attribute action_result.
-
#params ⇒ Object
Returns the value of attribute params.
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
26 27 28 |
# File 'lib/racket/current.rb', line 26 def action @action end |
#action_result ⇒ Object
Returns the value of attribute action_result
26 27 28 |
# File 'lib/racket/current.rb', line 26 def action_result @action_result end |
#params ⇒ Object
Returns the value of attribute params
26 27 28 |
# File 'lib/racket/current.rb', line 26 def params @params end |