Created
January 18, 2020 11:03
-
-
Save bingxie/605453b77d2a97735646bf4e005ad19e to your computer and use it in GitHub Desktop.
Test Ruby code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is a ruby file | |
def Hello | |
puts "Hello World" | |
end | |
class Job | |
def perform(*args) | |
args.each do |arg| | |
puts arg + "!" | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment