Skip to content

Instantly share code, notes, and snippets.

@marek2901
Created December 6, 2018 21:31
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 marek2901/8b29ab89cf3a0302bf16dbaf1087d22d to your computer and use it in GitHub Desktop.
Save marek2901/8b29ab89cf3a0302bf16dbaf1087d22d to your computer and use it in GitHub Desktop.
Lublin IT Ruby 101 Hello World
puts "Hello world"
# => Hello world
#
puts "1 + 1 is #{1 + 1}"
# => 1 + 1 is 2
puts "Type smth"
answer = gets.chomp
puts "You typed #{answer}"
# Type smth
# xDDD
# You typed xDDD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment