Skip to content

Commit

Permalink
Say hello in ruby 💎
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcsally committed Feb 12, 2020
1 parent 285c284 commit 8c55d87
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
ruby 2.6.3
rust 1.41.0
elixir 1.10
erlang 22.2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The rules are:
- [ ] php
- [x] python
- [ ] r
- [ ] ruby
- [x] ruby
- [x] rust
- [ ] shell
- [ ] swift
Expand Down
6 changes: 6 additions & 0 deletions ruby/index.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
def say_hello (name = "world")
puts "hello, #{name}!"
end

# ruby ./ruby/index.rb
say_hello()

0 comments on commit 8c55d87

Please sign in to comment.