mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
Sync RDoc 6.14.0
This commit is contained in:
parent
ca1ea95784
commit
03eb777c69
185 changed files with 2008 additions and 1655 deletions
|
@ -20,14 +20,14 @@ class RDoc::ERBIO < ERB
|
|||
##
|
||||
# Defaults +eoutvar+ to 'io', otherwise is identical to ERB's initialize
|
||||
|
||||
def initialize str, trim_mode: nil, eoutvar: 'io'
|
||||
def initialize(str, trim_mode: nil, eoutvar: 'io')
|
||||
super(str, trim_mode: trim_mode, eoutvar: eoutvar)
|
||||
end
|
||||
|
||||
##
|
||||
# Instructs +compiler+ how to write to +io_variable+
|
||||
|
||||
def set_eoutvar compiler, io_variable
|
||||
def set_eoutvar(compiler, io_variable)
|
||||
compiler.put_cmd = "#{io_variable}.write"
|
||||
compiler.insert_cmd = "#{io_variable}.write"
|
||||
compiler.pre_cmd = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue