Class: MandateClaw::DSL::Prohibition

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#breachObject

Returns the value of attribute breach

Returns:

  • (Object)

    the current value of breach



10
11
12
# File 'lib/mandate_claw/dsl/prohibition.rb', line 10

def breach
  @breach
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



10
11
12
# File 'lib/mandate_claw/dsl/prohibition.rb', line 10

def name
  @name
end

#onObject

Returns the value of attribute on

Returns:

  • (Object)

    the current value of on



10
11
12
# File 'lib/mandate_claw/dsl/prohibition.rb', line 10

def on
  @on
end