aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/erb.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/erb.rb b/lib/erb.rb
index 878b494231..813ff98253 100644
--- a/lib/erb.rb
+++ b/lib/erb.rb
@@ -517,7 +517,7 @@ class ERB
end
end
end
- Scanner.regist_scanner(SimpleScanner, nil, false)
+ Scanner.register_scanner(SimpleScanner, nil, false)
# Deprecated. Kept for backward compatibility.
SimpleScanner2 = SimpleScanner # :nodoc:
@@ -544,7 +544,7 @@ class ERB
end
end
end
- Scanner.regist_scanner(ExplicitScanner, '-', false)
+ Scanner.register_scanner(ExplicitScanner, '-', false)
end
class Buffer # :nodoc: