class EM::FTPD::FSD::DirectoryItem
This is a copy of original DirectoryItem
class found in yob’s repository. The goal of duplication is not to required em-ftpd.
Given gem official repository is not active and there are a lot of forks it is better to redefine this class here and be able to use em-ftpd from any source that tie the entire driver to a one repository.
Constants
- ATTRS
Fields for
DirectoryItem
Public Class Methods
new(options)
click to toggle source
Initializer method @param [Hash] options @option options name @option options name @option options owner @option options group @option options size @option options time @option options permissions @option options directory
# File lib/em-ftpd-fsd/directory_item.rb, line 43 def initialize(options) options.each do |attr, value| self.send("#{attr}=", value) end end