Class: Textus::Domain::Policy::Evaluation
- Inherits:
-
Data
- Object
- Data
- Textus::Domain::Policy::Evaluation
- Defined in:
- lib/textus/domain/policy/evaluation.rb
Overview
Immutable context handed to every predicate. ‘manifest` is the manifest (pure, no I/O); `envelope` is the entry under evaluation (nil when no bytes exist yet, e.g. a fresh put). `origin`/`target` are dotted keys; `transition` is the verb symbol.
Instance Attribute Summary collapse
-
#actor ⇒ Object
readonly
Returns the value of attribute actor.
-
#envelope ⇒ Object
readonly
Returns the value of attribute envelope.
-
#manifest ⇒ Object
readonly
Returns the value of attribute manifest.
-
#origin ⇒ Object
readonly
Returns the value of attribute origin.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
-
#transition ⇒ Object
readonly
Returns the value of attribute transition.
Instance Attribute Details
#actor ⇒ Object (readonly)
Returns the value of attribute actor
10 11 12 |
# File 'lib/textus/domain/policy/evaluation.rb', line 10 def actor @actor end |
#envelope ⇒ Object (readonly)
Returns the value of attribute envelope
10 11 12 |
# File 'lib/textus/domain/policy/evaluation.rb', line 10 def envelope @envelope end |
#manifest ⇒ Object (readonly)
Returns the value of attribute manifest
10 11 12 |
# File 'lib/textus/domain/policy/evaluation.rb', line 10 def manifest @manifest end |
#origin ⇒ Object (readonly)
Returns the value of attribute origin
10 11 12 |
# File 'lib/textus/domain/policy/evaluation.rb', line 10 def origin @origin end |
#target ⇒ Object (readonly)
Returns the value of attribute target
10 11 12 |
# File 'lib/textus/domain/policy/evaluation.rb', line 10 def target @target end |
#transition ⇒ Object (readonly)
Returns the value of attribute transition
10 11 12 |
# File 'lib/textus/domain/policy/evaluation.rb', line 10 def transition @transition end |