Method: Rex::Post::FileStat#initialize

Defined in:
lib/rex/post/file_stat.rb

#initialize(buf = '') ⇒ FileStat

Returns a new instance of FileStat.



30
31
32
33
# File 'lib/rex/post/file_stat.rb', line 30

def initialize(buf='')
  self.stathash = {}
  update(buf) if (buf and not buf.empty?)
end