Sha256: 6444c4e4aae2669ee5cb96011074a204018ba9c6f307e33d51ccb73458411757
Contents?: true
Size: 570 Bytes
Versions: 11
Compression:
Stored size: 570 Bytes
Contents
#include "classpath.h" #ruby <<END $: << '../..' require 'ruby_source_dir' marshal_c_location = "#{RUBY_SOURCE_DIR}/marshal.c" File.open(marshal_c_location) do |marshal_c| write = false stopwrite = false while (line = marshal_c.gets) != nil do case line when /^(path2class|path2module|class2path)/ puts "VALUE" if not write write = true stopwrite = false when /^\}/ stopwrite = true if write end puts line if write if stopwrite then stopwrite = false write = false puts '' end end end END
Version data entries
11 entries across 11 versions & 1 rubygems