Class: MandateClaw::DSL::Prohibition
- Inherits:
-
Struct
- Object
- Struct
- MandateClaw::DSL::Prohibition
- Defined in:
- lib/mandate_claw/dsl/prohibition.rb
Overview
An explicit denial: the named party MUST NOT perform this action. The attempt itself is a breach event, even if the action is blocked.
prohibition :unilateral_amend, on: :ai_agent, breach: :void_transition
Instance Attribute Summary collapse
-
#breach ⇒ Object
Returns the value of attribute breach.
-
#name ⇒ Object
Returns the value of attribute name.
-
#on ⇒ Object
Returns the value of attribute on.
Instance Attribute Details
#breach ⇒ Object
Returns the value of attribute breach
10 11 12 |
# File 'lib/mandate_claw/dsl/prohibition.rb', line 10 def breach @breach end |
#name ⇒ Object
Returns the value of attribute name
10 11 12 |
# File 'lib/mandate_claw/dsl/prohibition.rb', line 10 def name @name end |
#on ⇒ Object
Returns the value of attribute on
10 11 12 |
# File 'lib/mandate_claw/dsl/prohibition.rb', line 10 def on @on end |