REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 875 B
Close
//proc/thread-self/root/opt/alt/ruby24/lib64/ruby/2.4.0/rubygems/source/lock.rb
Text
Base64
# frozen_string_literal: true ## # A Lock source wraps an installed gem's source and sorts before other sources # during dependency resolution. This allows RubyGems to prefer gems from # dependency lock files. class Gem::Source::Lock < Gem::Source ## # The wrapped Gem::Source attr_reader :wrapped ## # Creates a new Lock source that wraps +source+ and moves it earlier in the # sort list. def initialize source @wrapped = source end def <=> other # :nodoc: case other when Gem::Source::Lock then @wrapped <=> other.wrapped when Gem::Source then 1 else nil end end def == other # :nodoc: 0 == (self <=> other) end ## # Delegates to the wrapped source's fetch_spec method. def fetch_spec name_tuple @wrapped.fetch_spec name_tuple end def uri # :nodoc: @wrapped.uri end end
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
git.rb
5.23 KB
lrw-r--r--
2020-03-31 11:42:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
installed.rb
661 B
lrw-r--r--
2020-03-31 11:42:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
local.rb
2.63 KB
lrw-r--r--
2020-03-31 11:42:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lock.rb
875 B
lrw-r--r--
2020-03-31 11:42:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
specific_file.rb
1.47 KB
lrw-r--r--
2020-03-31 11:42:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
vendor.rb
468 B
lrw-r--r--
2020-03-31 11:42:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).