summaryrefslogtreecommitdiff
path: root/lib/rdoc/markup/formatter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/formatter.rb')
-rw-r--r--lib/rdoc/markup/formatter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/markup/formatter.rb b/lib/rdoc/markup/formatter.rb
index 6dff96c7d0..2bac76e838 100644
--- a/lib/rdoc/markup/formatter.rb
+++ b/lib/rdoc/markup/formatter.rb
@@ -156,7 +156,7 @@ class RDoc::Markup::Formatter
method_name = "handle_regexp_#{name}"
if respond_to? method_name then
- target.text = send method_name, target
+ target.text = public_send method_name, target
handled = true
end
end