📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-06-29 15:01:11
📂
/ (Root)
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
File
📍 /opt/alt/ruby18/share/ri/1.8/system/File
🔄 Refresh
✏️
Editing: dirname-c.yaml
Read Only
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns all components of the filename given in <em>file_name</em> except the last one. The filename must be formed using forward slashes (``<tt>/</tt>'') regardless of the separator used on the local file system. - !ruby/struct:SM::Flow::VERB body: " File.dirname("/home/gumby/work/ruby.rb") #=> "/home/gumby/work"\n" full_name: File::dirname is_singleton: true name: dirname params: | File.dirname(file_name ) -> dir_name visibility: public
💾 Save Changes
❌ Cancel