# # jQuery File Tree Ruby Connector # # Version 1.01 # # Erik Lax # http://datahack.se # 13 July 2008 # # History # # 1.01 Initial Release # # Output a list of files for jQuery File Tree # # #root = "/absolute/path/" # or root = File.expand_path(".") # # require "cgi" cgi = CGI.new cgi.header("type" => "text/html") dir = cgi.params["dir"].to_s puts "" #