lib/satisfactory/collection.rb in satisfactory-0.3.1 vs lib/satisfactory/collection.rb in satisfactory-0.3.2
- old
+ new
@@ -45,9 +45,10 @@
# (see Satisfactory::Record#and_same)
def and_same(upstream_type)
Satisfactory::UpstreamRecordFinder.new(upstream:).find(upstream_type)
end
+ alias return_to and_same
# @api private
def build
flat_map(&:build)
end