Skip to content

Instantly share code, notes, and snippets.

@taq
Created December 21, 2023 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taq/03592a4f7f10995602e6a2ab0227bacc to your computer and use it in GitHub Desktop.
Save taq/03592a4f7f10995602e6a2ab0227bacc to your computer and use it in GitHub Desktop.
Pull request patch file example
From f0af0ed80173a0a3ff0ed1316bdb09ba64b518f0 Mon Sep 17 00:00:00 2001
From: Eustaquio Rangel <taq@eustaquiorangel.com>
Date: Thu, 21 Dec 2023 16:12:23 -0300
Subject: [PATCH] Construtor
---
test.rb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/test.rb b/test.rb
index 5a67fd5..ebc972a 100644
--- a/test.rb
+++ b/test.rb
@@ -1,2 +1,5 @@
class Test
+ def initialize
+ puts 'Inicializando um teste ...'
+ end
end
--
2.40.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment