From e751362d9194d9291057759fa33073720c3535fd Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Fri, 26 Jun 2026 15:36:49 +0530 Subject: Shnippets --- snippets/ruby/class.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 snippets/ruby/class.rb (limited to 'snippets/ruby') diff --git a/snippets/ruby/class.rb b/snippets/ruby/class.rb new file mode 100644 index 0000000..5b16823 --- /dev/null +++ b/snippets/ruby/class.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class $1 + def initialize + $2 + end + + $3 +end -- cgit v1.3.1