Method: Ftpd::FileInfo#initialize
- Defined in:
- lib/ftpd/file_info.rb
#initialize(opts) ⇒ FileInfo
Create a new instance. See the various attributes for argument details.
89 90 91 92 93 94 95 96 97 98 99 |
# File 'lib/ftpd/file_info.rb', line 89 def initialize(opts) @ftype = opts[:ftype] @group = opts[:group] @identifier = opts[:identifier] @mode = opts[:mode] @mtime = opts[:mtime] @nlink = opts[:nlink] @owner = opts[:owner] @path = opts[:path] @size = opts[:size] end |