Class: Hecks::Runtime::ReactionInvocation::Scope

Inherits:
Struct
  • Object
show all
Defined in:
lib/hecks/runtime/reaction_invocation.rb

Overview

:facts, not :values — Struct.new already defines #values (every member's own value, in order); naming this field :values silently shadowed that with the single Hash it actually holds.

Instance Attribute Summary collapse

Instance Attribute Details

#factsObject

Returns the value of attribute facts

Returns:

  • (Object)

    the current value of facts



18
19
20
# File 'lib/hecks/runtime/reaction_invocation.rb', line 18

def facts
  @facts
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



18
19
20
# File 'lib/hecks/runtime/reaction_invocation.rb', line 18

def name
  @name
end