Skip to content

Commit 1f6efdc

Browse files
author
Katrina Owen
authored
Merge pull request #705 from exercism/default-snippet
Add default introductory code example
2 parents 23ef5fd + 97afb76 commit 1f6efdc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/SNIPPET.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class HelloWorld
2+
def self.hello(name = 'World')
3+
"Hello, #{name}!"
4+
end
5+
end

0 commit comments

Comments
 (0)