X7ROOT File Manager
Current Path:
/opt/alt/ruby21/lib64/ruby/2.1.0/irb
opt
/
alt
/
ruby21
/
lib64
/
ruby
/
2.1.0
/
irb
/
ðŸ“
..
ðŸ“
cmd
📄
completion.rb
(5.93 KB)
📄
context.rb
(11.91 KB)
ðŸ“
ext
📄
extend-command.rb
(9.54 KB)
📄
frame.rb
(1.87 KB)
📄
help.rb
(613 B)
📄
init.rb
(7.07 KB)
📄
input-method.rb
(4.58 KB)
📄
inspector.rb
(3.9 KB)
ðŸ“
lc
📄
locale.rb
(4.43 KB)
📄
magic-file.rb
(893 B)
📄
notifier.rb
(6.87 KB)
📄
output-method.rb
(2.39 KB)
📄
ruby-lex.rb
(22.59 KB)
📄
ruby-token.rb
(7.3 KB)
📄
slex.rb
(5.95 KB)
📄
src_encoding.rb
(90 B)
📄
version.rb
(251 B)
📄
workspace.rb
(2.78 KB)
📄
ws-for-case-2.rb
(195 B)
📄
xmp.rb
(4.03 KB)
Editing: help.rb
# # irb/help.rb - print usage module # $Release Version: 0.9.6$ # $Revision: 38515 $ # by Keiju ISHITSUKA(keiju@ishitsuka.com) # # -- # # # require 'irb/magic-file' module IRB # Outputs the irb help message, see IRB@Command+line+options. 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