Method: Satisfactory::Record#to_plan

Defined in:
lib/satisfactory/record.rb

#to_planHash

Construct this tree’s build plan.

Returns:

  • (Hash)

Since:

  • 0.2.0



119
120
121
122
123
124
125
# File 'lib/satisfactory/record.rb', line 119

def to_plan
  if upstream
    upstream.to_plan
  else
    build_plan
  end
end