Method: Example::Driver#file_system
- Defined in:
- examples/example.rb
#file_system(user) ⇒ Object
Return the file system to use for a user.
157 158 159 160 161 162 163 |
# File 'examples/example.rb', line 157 def file_system(user) if @read_only Ftpd::ReadOnlyDiskFileSystem else Ftpd::DiskFileSystem end.new(@data_dir) end |