Skip to content

Commit

Permalink
I do love me some instance variables but also… um
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspth committed Oct 17, 2023
1 parent 47d8357 commit 0f5907e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oaken.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def self.within(directory)

def initialize(pathname)
@file, @pathname = pathname.to_s, pathname
@compute_checksum = Digest::MD5.hexdigest(@pathname.read)
@computed_checksum = Digest::MD5.hexdigest(@pathname.read)

prepared_store_path = Pathname.new("tmp/oaken").join(pathname).tap { _1.dirname.mkpath }
super PStore.new(prepared_store_path)
Expand Down

0 comments on commit 0f5907e

Please sign in to comment.