Class: Datacaster::AroundNodes::Caster

Inherits:
Datacaster::AroundNode show all
Defined in:
lib/datacaster/around_nodes/caster.rb

Instance Method Summary collapse

Methods inherited from Datacaster::AroundNode

#around, #initialize, #inspect

Methods included from Mixin

#&, #*, #call, #call_with_runtime, #cast_errors, #i18n_key, #i18n_map_keys, #i18n_scope, #i18n_vars, #inspect, #then, #with_context, #with_object_context, #with_runtime, #|

Constructor Details

This class inherits a constructor from Datacaster::AroundNode

Instance Method Details

#cast(object, runtime:) ⇒ Object



4
5
6
7
8
# File 'lib/datacaster/around_nodes/caster.rb', line 4

def cast(object, runtime:)
  super

  Runtimes::Base.(runtime, @run, object, @around.with_runtime(runtime))
end