X7ROOT File Manager
Current Path:
/opt/alt/ruby24/lib64/ruby/2.4.0/rdoc
opt
/
alt
/
ruby24
/
lib64
/
ruby
/
2.4.0
/
rdoc
/
??
..
??
alias.rb
(2.12 KB)
??
anon_class.rb
(173 B)
??
any_method.rb
(7.07 KB)
??
attr.rb
(3.76 KB)
??
class_module.rb
(19.76 KB)
??
code_object.rb
(9.35 KB)
??
code_objects.rb
(152 B)
??
comment.rb
(5.29 KB)
??
constant.rb
(3.58 KB)
??
context
??
context.rb
(28.8 KB)
??
cross_reference.rb
(5.85 KB)
??
encoding.rb
(2.99 KB)
??
erb_partial.rb
(401 B)
??
erbio.rb
(825 B)
??
extend.rb
(171 B)
??
generator
??
generator.rb
(1.79 KB)
??
ghost_method.rb
(145 B)
??
i18n
??
i18n.rb
(182 B)
??
include.rb
(173 B)
??
known_classes.rb
(2.62 KB)
??
markdown
??
markdown.rb
(373.6 KB)
??
markup
??
markup.rb
(28.27 KB)
??
meta_method.rb
(130 B)
??
method_attr.rb
(9.04 KB)
??
mixin.rb
(2.75 KB)
??
normal_class.rb
(2.13 KB)
??
normal_module.rb
(1.43 KB)
??
options.rb
(30.34 KB)
??
parser
??
parser.rb
(7.8 KB)
??
rd
??
rd.rb
(3.57 KB)
??
rdoc.rb
(13.39 KB)
??
require.rb
(966 B)
??
ri
??
ri.rb
(346 B)
??
ruby_lex.rb
(27.47 KB)
??
ruby_token.rb
(11.35 KB)
??
rubygems_hook.rb
(5.14 KB)
??
servlet.rb
(11.9 KB)
??
single_class.rb
(409 B)
??
stats
??
stats.rb
(10.48 KB)
??
store.rb
(21.94 KB)
??
task.rb
(7.67 KB)
??
test_case.rb
(3.78 KB)
??
text.rb
(7.34 KB)
??
token_stream.rb
(2.5 KB)
??
tom_doc.rb
(6.29 KB)
??
top_level.rb
(5.44 KB)
Editing: erbio.rb
# frozen_string_literal: false require 'erb' ## # A subclass of ERB that writes directly to an IO. Credit to Aaron Patterson # and Masatoshi SEKI. # # To use: # # erbio = RDoc::ERBIO.new '<%= "hello world" %>', nil, nil # # open 'hello.txt', 'w' do |io| # erbio.result binding # end # # Note that binding must enclose the io you wish to output on. class RDoc::ERBIO < ERB ## # Defaults +eoutvar+ to 'io', otherwise is identical to ERB's initialize def initialize str, safe_level = nil, trim_mode = nil, eoutvar = 'io' super end ## # Instructs +compiler+ how to write to +io_variable+ def set_eoutvar compiler, io_variable compiler.put_cmd = "#{io_variable}.write" compiler.insert_cmd = "#{io_variable}.write" compiler.pre_cmd = [] compiler.post_cmd = [] end end
Upload File
Create Folder