Method: Dynflow::DelayedPlan#initialize
- Defined in:
- lib/dynflow/delayed_plan.rb
#initialize(world, execution_plan_uuid, start_at, start_before, args_serializer, frozen) ⇒ DelayedPlan
Returns a new instance of DelayedPlan.
10 11 12 13 14 15 16 17 |
# File 'lib/dynflow/delayed_plan.rb', line 10 def initialize(world, execution_plan_uuid, start_at, start_before, args_serializer, frozen) @world = Type! world, World @execution_plan_uuid = Type! execution_plan_uuid, String @start_at = Type! start_at, Time, NilClass @start_before = Type! start_before, Time, NilClass @args_serializer = Type! args_serializer, Serializers::Abstract @frozen = Type! frozen, Algebrick::Types::Boolean end |