Module
Instance Methods
lib/csv/delete_suffix.rb
View on GitHub
# File tmp/rubies/ruby-2.7.6/lib/csv/delete_suffix.rb, line 8
def delete_suffix(suffix)
if end_with?(suffix)
self[0...-suffix.size]
else
self
end
end
No documentation available