Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /opt/alt/ruby27/share/ruby/csv//delete_suffix.rb
# frozen_string_literal: true
# This provides String#delete_suffix? for Ruby 2.4.
unless String.method_defined?(:delete_suffix)
class CSV
module DeleteSuffix
refine String do
def delete_suffix(suffix)
if end_with?(suffix)
self[0...-suffix.size]
else
self
end
end
end
end
end
end
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 03 2024 22:47:25 | root / linksafe | 0755 | |
core_ext | -- | March 03 2024 22:47:16 | root / linksafe | 0755 | |
| | | | | |
delete_suffix.rb | 0.365 KB | March 30 2023 12:34:08 | root / linksafe | 0644 | |
fields_converter.rb | 2.355 KB | March 30 2023 12:34:08 | root / linksafe | 0644 | |
match_p.rb | 0.368 KB | March 30 2023 12:34:08 | root / linksafe | 0644 | |
parser.rb | 30.986 KB | March 30 2023 12:34:08 | root / linksafe | 0644 | |
row.rb | 11.128 KB | March 30 2023 12:34:08 | root / linksafe | 0644 | |
table.rb | 12.701 KB | March 30 2023 12:34:08 | root / linksafe | 0644 | |
version.rb | 0.104 KB | March 30 2023 12:34:08 | root / linksafe | 0644 | |
writer.rb | 4.452 KB | March 30 2023 12:34:08 | root / linksafe | 0644 | |