# File csv/delete_suffix.rb, line 7 def delete_suffix(suffix) if end_with?(suffix) self[0...-suffix.size] else self end end
This page was generated for Ruby 3.1.2
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.