opt
/
alt
/
ruby26
/
lib64
/
ruby
/
2.6.0
/
bundler
/
vendor
/
molinillo
/
lib
/
molinillo
/
Go to Home Directory
+
Upload
Create File
root@0UT1S:~$
Execute
By Order of Mr.0UT1S
[DIR] ..
N/A
[DIR] delegates
N/A
[DIR] dependency_graph
N/A
[DIR] modules
N/A
compatibility.rb
647 bytes
Rename
Delete
dependency_graph.rb
7.25 KB
Rename
Delete
errors.rb
5.89 KB
Rename
Delete
gem_metadata.rb
127 bytes
Rename
Delete
resolution.rb
33.65 KB
Rename
Delete
resolver.rb
1.59 KB
Rename
Delete
state.rb
1.79 KB
Rename
Delete
# frozen_string_literal: true module Bundler::Molinillo # Hacks needed for old Ruby versions. module Compatibility module_function if [].respond_to?(:flat_map) # Flat map # @param [Enumerable] enum an enumerable object # @block the block to flat-map with # @return The enum, flat-mapped def flat_map(enum, &blk) enum.flat_map(&blk) end else # Flat map # @param [Enumerable] enum an enumerable object # @block the block to flat-map with # @return The enum, flat-mapped def flat_map(enum, &blk) enum.map(&blk).flatten(1) end end end end
Save