class Synqa::RelativePathWithHash

An object representing a file path relative to a base directory, and a hash string

Attributes

hash[R]

The hash code, e.g. a1c5b67fdb3cf0df8f1d29ae90561f9ad099bada44aeb6b2574ad9e15f2a84ed

relativePath[R]

The relative file path (e.g. c:/dir/subdir/file.txt relative to c:/dir would be subdir/file.txt)

Public Class Methods

new(relativePath, hash) click to toggle source
# File lib/synqa.rb, line 45
def initialize(relativePath, hash)
  @relativePath = relativePath
  @hash = hash
end

Public Instance Methods

inspect() click to toggle source
# File lib/synqa.rb, line 50
def inspect
  return "RelativePathWithHash[#{relativePath}, #{hash}]"
end