Module: Ronin::Controls::Helpers::FileMtime

Includes:
FileSystem
Defined in:
lib/ronin/controls/helpers/file_mtime.rb

Instance Method Summary collapse

Methods included from FileSystem

#chdir, #cwd, #updir!

Instance Method Details

#change_file_mtime(path, new_time) ⇒ Object

Changes the modification time of the file at the specified path, to that of the specified new_time.

Raises:

Since:

  • 0.3.0



47
48
49
# File 'lib/ronin/controls/helpers/file_mtime.rb', line 47

def change_file_mtime(path,new_time)
  raise(NotImplemented,"the change_file_mtime method has not been implemented",caller)
end

#file_mtime(path) ⇒ Object

Returns the modification time of the file at the specified path.

Raises:

Since:

  • 0.3.0



37
38
39
# File 'lib/ronin/controls/helpers/file_mtime.rb', line 37

def file_mtime(path)
  raise(NotImplemented,"the file_mtime method has not been implemented",caller)
end