Method: Satisfactory::Record#and
- Defined in:
- lib/satisfactory/record.rb
#and(count = nil, downstream_type, **attributes) ⇒ Satisfactory::Record, Satisfactory::Collection
Add a sibling record to the parent record’s build plan. e.g. adding a second user to a project.
83 84 85 |
# File 'lib/satisfactory/record.rb', line 83 def and(count = nil, downstream_type, **attributes) # rubocop:disable Style/OptionalArguments upstream.with(count, downstream_type, force: true, **attributes) end |