Skip to content

Instantly share code, notes, and snippets.

View Ryanwall15's full-sized avatar

Ryan Wallerius Ryanwall15

  • Avanade
  • Seattle, WA
View GitHub Profile
@Ryanwall15
Ryanwall15 / hello_world.py
Created October 10, 2019 19:00
Hello World Examples
class HelloWorld:
def __init__(self, name):
self.name = name.capitalize()
def sayHi(self):
print "Hello " + self.name + "!"
hello = HelloWorld("world")
hello.sayHi()
@Ryanwall15
Ryanwall15 / hello_world.md
Last active October 10, 2019 18:26
Hello World Examples

Run ruby hello_world.rb or python hello_world.py to print Hello World

@Ryanwall15
Ryanwall15 / hello_world.rb
Created October 10, 2019 18:09
Hello World Examples
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created October 9, 2019 21:28
Hello World Examples
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created October 9, 2019 21:10
Hello World Examples
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created October 9, 2019 20:26
Hello World Examples
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created October 9, 2019 20:17
Hello World Examples
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created October 9, 2019 19:40
Hello World Examples
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created October 9, 2019 19:38
Hello World Examples
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")
@Ryanwall15
Ryanwall15 / hello_world.rb
Created October 9, 2019 19:31
Hello World Examples
class HelloWorld
def initialize(name)
@name = name.capitalize
end
def sayHi
puts "Hello !"
end
end
hello = HelloWorld.new("World")