summaryrefslogtreecommitdiff
path: root/lib/rdoc/erbio.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/erbio.rb')
-rw-r--r--lib/rdoc/erbio.rb9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/rdoc/erbio.rb b/lib/rdoc/erbio.rb
index 0d5f96e133..0f98eaedee 100644
--- a/lib/rdoc/erbio.rb
+++ b/lib/rdoc/erbio.rb
@@ -20,12 +20,8 @@ class RDoc::ERBIO < ERB
##
# Defaults +eoutvar+ to 'io', otherwise is identical to ERB's initialize
- def initialize str, safe_level = nil, legacy_trim_mode = nil, legacy_eoutvar = 'io', trim_mode: nil, eoutvar: 'io'
- if RUBY_VERSION >= '2.6'
- super(str, trim_mode: trim_mode, eoutvar: eoutvar)
- else
- super(str, safe_level, legacy_trim_mode, legacy_eoutvar)
- end
+ def initialize str, trim_mode: nil, eoutvar: 'io'
+ super(str, trim_mode: trim_mode, eoutvar: eoutvar)
end
##
@@ -39,4 +35,3 @@ class RDoc::ERBIO < ERB
end
end
-