Method: CDK::FSELECT#contentToPath
- Defined in:
- lib/cdk/components/fselect.rb
#contentToPath(content) ⇒ Object
Return the plain string that corresponds to an item in dir_contents
873 874 875 876 877 878 879 880 881 882 883 |
# File 'lib/cdk/components/fselect.rb', line 873 def contentToPath(content) # XXX direct translation of original but might be redundant temp_chtype = char2Chtype(content, [], []) temp_char = chtype2Char(temp_chtype) temp_char = temp_char[0..-1] # Create the pathname. result = CDK::FSELECT.make_pathname(@pwd, temp_char) return result end |