REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.51 KB
Close
/proc/self/root/proc/thread-self/root/proc/self/root/opt/alt/ruby18/bin/rdoc
Text
Base64
#!/opt/alt/ruby18/bin/ruby # # RDoc: Documentation tool for source code # (see lib/rdoc/rdoc.rb for more information) # # Copyright (c) 2003 Dave Thomas # Released under the same terms as Ruby # # $Revision: 11708 $ ## Transitional Hack #### # # RDoc was initially distributed independently, and installed # itself into <prefix>/lib/ruby/site_ruby/<ver>/rdoc... # # Now that RDoc is part of the distribution, it's installed into # <prefix>/lib/ruby/<ver>, which unfortunately appears later in the # search path. This means that if you have previously installed RDoc, # and then install from ruby-lang, you'll pick up the old one by # default. This hack checks for the condition, and readjusts the # search path if necessary. def adjust_for_existing_rdoc(path) $stderr.puts %{ It seems as if you have a previously-installed RDoc in the directory #{path}. Because this is now out-of-date, you might want to consider removing the directories: #{File.join(path, "rdoc")} and #{File.join(path, "markup")} } # Move all the site_ruby directories to the end p $: $:.replace($:.partition {|path| /site_ruby/ !~ path}.flatten) p $: end $:.each do |path| if /site_ruby/ =~ path rdoc_path = File.join(path, 'rdoc', 'rdoc.rb') if File.exists?(rdoc_path) adjust_for_existing_rdoc(path) break end end end ## End of Transitional Hack ## require 'rdoc/rdoc' begin r = RDoc::RDoc.new r.document(ARGV) rescue RDoc::RDocError => e $stderr.puts e.message exit(1) end
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 8
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
erb
3.80 KB
lrwxr-xr-x
2023-07-26 13:45:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
gem
894 B
lrwxr-xr-x
2019-12-05 22:13:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
irb
384 B
lrwxr-xr-x
2023-07-26 13:45:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rackup
459 B
lrwxr-xr-x
2019-12-05 22:13:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
rdoc
1.51 KB
lrwxr-xr-x
2023-07-26 13:45:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ri
1.46 KB
lrwxr-xr-x
2023-07-26 13:45:54
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ruby
7.94 KB
lrwxr-xr-x
2023-07-26 13:48:04
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
testrb
158 B
lrwxr-xr-x
2023-07-26 13:45:54
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).