Class: EM::FTPD::DirectoryItem
- Inherits:
-
Object
- Object
- EM::FTPD::DirectoryItem
- Defined in:
- lib/em-ftpd/directory_item.rb
Constant Summary collapse
- ATTRS =
[:name, :owner, :group, :size, :time, :permissions, :directory]
Instance Method Summary collapse
-
#initialize(options) ⇒ DirectoryItem
constructor
A new instance of DirectoryItem.
Constructor Details
#initialize(options) ⇒ DirectoryItem
Returns a new instance of DirectoryItem.
6 7 8 9 10 |
# File 'lib/em-ftpd/directory_item.rb', line 6 def initialize() .each do |attr, value| self.send("#{attr}=", value) end end |