Skip to content

Commit

Permalink
Rename write_tail_header method to write_footer
Browse files Browse the repository at this point in the history
  • Loading branch information
shinokaro committed Jul 23, 2024
1 parent f6da40a commit f05c9b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ocran/stub_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def initialize(path, chdir_before: nil, debug_extract: nil, debug_mode: nil,
b.yield
end

write_tail_header
write_footer
end

File.rename(stub, path)
Expand Down Expand Up @@ -211,10 +211,10 @@ def write_path(path)
end
private :write_path

def write_tail_header
def write_footer
@of << ([@opcode_offset] + Signature).pack("VC*")
end
private :write_tail_header
private :write_footer

def convert_to_native(path)
path.to_s.tr(File::SEPARATOR, "\\")
Expand Down

0 comments on commit f05c9b3

Please sign in to comment.