lib/ruumba/analyzer.rb
# The regular expression to capture interpolated Ruby.
The regular expression to capture interpolated Ruby.
The regular expression to capture interpolated Ruby .
def extract_match(file_text, start_index, end_index)
      file_text[start_index...end_index].tap do |region|
        region.gsub!(/./, ' ') if region[0] == '#'
      end
    end
def extract_match ( file_text , start_index , end_index ) file_text [ start_index ... end_index ] . tap do | region | region . gsub! ( / . / , ' ' ) if region [ 0 ] == '#' end end
The regular expression to capture interpolated Ruby.
The regular expression to capture interpolated Ruby .
file_text
<not_specific>
start_index
<not_specific>
end_index
<not_specific>