= private = protected
strip_quotes(quoted_string)
Method contributed by Henrik Martensson
# File lib/rexml/doctype.rb, line 189 def strip_quotes(quoted_string) quoted_string =~ /^[\'\"].*[\'\"]$/ ? quoted_string[1, quoted_string.length-2] : quoted_string end