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/ruby30/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 |
.. | -- | July 17 2024 08:38:31 | root / linksafe | 0755 | |
core_ext | -- | July 17 2024 08:38:23 | root / linksafe | 0755 | |
| | | | | |
delete_suffix.rb | 0.365 KB | June 26 2024 13:55:18 | root / linksafe | 0644 | |
fields_converter.rb | 2.379 KB | June 26 2024 13:55:18 | root / linksafe | 0644 | |
match_p.rb | 0.368 KB | June 26 2024 13:55:18 | root / linksafe | 0644 | |
parser.rb | 31.334 KB | June 26 2024 13:55:18 | root / linksafe | 0644 | |
row.rb | 19.679 KB | June 26 2024 13:55:18 | root / linksafe | 0644 | |
table.rb | 21.625 KB | June 26 2024 13:55:18 | root / linksafe | 0644 | |
version.rb | 0.104 KB | June 26 2024 13:55:18 | root / linksafe | 0644 | |
writer.rb | 5.82 KB | June 26 2024 13:55:18 | root / linksafe | 0644 | |