lib/ohloh_scm/adapters/abstract/misc.rb in ohloh_scm-2.4.0 vs lib/ohloh_scm/adapters/abstract/misc.rb in ohloh_scm-2.4.1
- old
+ new
@@ -7,7 +7,10 @@
def tags
[]
end
+ def escape_single_quote(str)
+ str.to_s.gsub("'", "'\''")
+ end
end
end