Method: Ftpd::ListFormat::Ls::FileMode#initialize

Defined in:
lib/ftpd/list_format/ls.rb

#initialize(mode) ⇒ FileMode

Returns a new instance of FileMode.

Parameters:

  • mode (Integer)

    File mode bits, as returned by File::Stat#mode



100
101
102
# File 'lib/ftpd/list_format/ls.rb', line 100

def initialize(mode)
  @mode = mode
end