X7ROOT File Manager
Current Path:
/opt/alt/ruby18/lib64/ruby/1.8/irb
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
1.8
/
irb
/
ðŸ“
..
ðŸ“
cmd
📄
completion.rb
(4.85 KB)
📄
context.rb
(6.01 KB)
ðŸ“
ext
📄
extend-command.rb
(6.89 KB)
📄
frame.rb
(1.27 KB)
📄
help.rb
(582 B)
📄
init.rb
(5.83 KB)
📄
input-method.rb
(1.81 KB)
ðŸ“
lc
📄
locale.rb
(3.37 KB)
📄
notifier.rb
(2.71 KB)
📄
output-method.rb
(1.79 KB)
📄
ruby-lex.rb
(21.38 KB)
📄
ruby-token.rb
(7.43 KB)
📄
slex.rb
(6.07 KB)
📄
version.rb
(303 B)
📄
workspace.rb
(2.55 KB)
📄
ws-for-case-2.rb
(258 B)
📄
xmp.rb
(1.48 KB)
Editing: help.rb
# # irb/help.rb - print usage module # $Release Version: 0.9.5$ # $Revision: 16857 $ # $Date: 2008-06-06 17:05:24 +0900 (Fri, 06 Jun 2008) $ # by Keiju ISHITSUKA(keiju@ishitsuka.com) # # -- # # # module IRB def IRB.print_usage lc = IRB.conf[:LC_MESSAGES] path = lc.find("irb/help-message") space_line = false File.foreach(path) 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