Class: StorageGuardian::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/storage_guardian/scanner.rb

Instance Attribute Summary collapse

Instance Attribute Details

#hashObject

Returns the value of attribute hash

Returns:

  • (Object)

    the current value of hash



6
7
8
# File 'lib/storage_guardian/scanner.rb', line 6

def hash
  @hash
end

#mtimeObject

Returns the value of attribute mtime

Returns:

  • (Object)

    the current value of mtime



6
7
8
# File 'lib/storage_guardian/scanner.rb', line 6

def mtime
  @mtime
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



6
7
8
# File 'lib/storage_guardian/scanner.rb', line 6

def path
  @path
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



6
7
8
# File 'lib/storage_guardian/scanner.rb', line 6

def size
  @size
end