Method: Fabulator::Core::Actions::Value#run

Defined in:
lib/fabulator/core/actions/variables.rb

#run(context, autovivify = false) ⇒ Object



21
22
23
24
25
# File 'lib/fabulator/core/actions/variables.rb', line 21

def run(context, autovivify = false)
  @context.with(context) do |ctx|
    ctx.set_value(self.path, @select.nil? ? @actions : @select )
  end
end