X7ROOT File Manager
Current Path:
/opt/alt/ruby19/lib64/ruby/1.9.1/irb
opt
/
alt
/
ruby19
/
lib64
/
ruby
/
1.9.1
/
irb
/
ðŸ“
..
ðŸ“
cmd
📄
completion.rb
(5.86 KB)
📄
context.rb
(6.91 KB)
ðŸ“
ext
📄
extend-command.rb
(7 KB)
📄
frame.rb
(1.21 KB)
📄
help.rb
(549 B)
📄
init.rb
(6.96 KB)
📄
input-method.rb
(2.5 KB)
📄
inspector.rb
(2.19 KB)
ðŸ“
lc
📄
locale.rb
(4.42 KB)
📄
magic-file.rb
(893 B)
📄
notifier.rb
(2.64 KB)
📄
output-method.rb
(1.31 KB)
📄
ruby-lex.rb
(22.12 KB)
📄
ruby-token.rb
(7.27 KB)
📄
slex.rb
(5.93 KB)
📄
src_encoding.rb
(90 B)
📄
version.rb
(241 B)
📄
workspace.rb
(2.54 KB)
📄
ws-for-case-2.rb
(195 B)
📄
xmp.rb
(1.76 KB)
Editing: help.rb
# # irb/help.rb - print usage module # $Release Version: 0.9.6$ # $Revision: 25189 $ # by Keiju ISHITSUKA(keiju@ishitsuka.com) # # -- # # # require 'irb/magic-file' module IRB def IRB.print_usage lc = IRB.conf[:LC_MESSAGES] path = lc.find("irb/help-message") space_line = false IRB::MagicFile.open(path){|f| f.each_line do |l| if /^\s*$/ =~ l lc.puts l unless space_line space_line = true next end space_line = false l.sub!(/#.*$/, "") next if /^\s*$/ =~ l lc.puts l end } end end
Upload File
Create Folder