class RMachine::RetrieveStateValueNotifier

Attributes

state_template[R]

Public Class Methods

new(params) click to toggle source
# File lib/r_machine/notifiers/retrieve_state_value_notifier.rb, line 5
def initialize(params)
  @state_template = params[:state_template]
end

Public Instance Methods

notify!() click to toggle source
# File lib/r_machine/notifiers/retrieve_state_value_notifier.rb, line 9
def notify!
  state_template.state
end