/usr/lib/ruby/1.8/rd/rd2rdo-lib.rb is in librd-ruby1.8 0.6.22-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | =begin
= rd2rdo-lib.rb
Format lib to dump tree objects.
=end
require "rd/rdvisitor"
module RD
class RD2RDOVisitor < RDVisitor
OUTPUT_SUFFIX = "rdo"
INCLUDE_SUFFIX = []
def visit(tree)
Marshal.dump(tree)
end
end
end
$Visitor_Class = RD::RD2RDOVisitor
|