Method: Excite::Postprocessor#pairable_quote_chars

Defined in:
lib/excite/postprocessor.rb

#pairable_quote_chars(quote_char) ⇒ Object



68
69
70
71
72
# File 'lib/excite/postprocessor.rb', line 68

def pairable_quote_chars(quote_char)
  [%{"”“}, %{’'`‘´'}].each do |chars|
    return chars if chars.include? quote_char
  end
end