aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/markup/lines.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/lines.rb')
-rw-r--r--lib/rdoc/markup/lines.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/markup/lines.rb b/lib/rdoc/markup/lines.rb
index 985304c225..069492122f 100644
--- a/lib/rdoc/markup/lines.rb
+++ b/lib/rdoc/markup/lines.rb
@@ -59,8 +59,8 @@ class RDoc::Markup
end
# Return true if this line is blank
- def isBlank?
- @text.length.zero?
+ def blank?
+ @text.empty?
end
# stamp a line with a type, a level, a prefix, and a flag