aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/markup/simple_markup/inline.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/simple_markup/inline.rb')
-rw-r--r--lib/rdoc/markup/simple_markup/inline.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rdoc/markup/simple_markup/inline.rb b/lib/rdoc/markup/simple_markup/inline.rb
index 9ca5857358..120d347be6 100644
--- a/lib/rdoc/markup/simple_markup/inline.rb
+++ b/lib/rdoc/markup/simple_markup/inline.rb
@@ -246,17 +246,17 @@ module SM
def flow(str)
@str = str
- puts("Before flow, str='#{@str.dump}'") if $DEBUG
+ puts("Before flow, str='#{@str.dump}'") if $DEBUG_RDOC
mask_protected_sequences
@attrs = AttrSpan.new(@str.length)
- puts("After protecting, str='#{@str.dump}'") if $DEBUG
+ puts("After protecting, str='#{@str.dump}'") if $DEBUG_RDOC
convert_attrs(@str, @attrs)
convert_html(@str, @attrs)
convert_specials(str, @attrs)
unmask_protected_sequences
- puts("After flow, str='#{@str.dump}'") if $DEBUG
+ puts("After flow, str='#{@str.dump}'") if $DEBUG_RDOC
return split_into_flow
end
@@ -284,7 +284,7 @@ module SM
def split_into_flow
- display_attributes if $DEBUG
+ display_attributes if $DEBUG_RDOC
res = []
current_attr = 0