From ec8e69f94fa2c9b32cffdc5a0ce8851dedd2ea43 Mon Sep 17 00:00:00 2001 From: simplonco Date: Thu, 26 May 2016 11:06:45 +0200 Subject: [PATCH] amina solution --- aminahello_world.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 aminahello_world.rb diff --git a/aminahello_world.rb b/aminahello_world.rb new file mode 100644 index 0000000..2d49bac --- /dev/null +++ b/aminahello_world.rb @@ -0,0 +1,11 @@ + + class HelloWorld + def initialize(name) + @name = name.capitalize + end + def sayHi + puts "Hello #{@name}!" + end + end + hello = HelloWorld.new("berivan") + hello.sayHi