Class: JarTools::Diff::ActualFile

Inherits:
UniformFile show all
Defined in:
lib/jartools/diff.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from UniformFile

#contents, #sha1

Constructor Details

#initialize(filename) ⇒ ActualFile

Returns a new instance of ActualFile.



181
182
183
# File 'lib/jartools/diff.rb', line 181

def initialize(filename)
  @entry_path = @readable_filename = filename
end

Instance Attribute Details

#entry_pathObject (readonly)

Returns the value of attribute entry_path.



179
180
181
# File 'lib/jartools/diff.rb', line 179

def entry_path
  @entry_path
end

#readable_filenameObject (readonly)

Returns the value of attribute readable_filename.



179
180
181
# File 'lib/jartools/diff.rb', line 179

def readable_filename
  @readable_filename
end