From 95b5b958c71899d0ee393a3ee93a4eb4b03e27f9 Mon Sep 17 00:00:00 2001 From: Iqlaas Date: Wed, 3 Oct 2018 14:29:46 +0800 Subject: [PATCH] Add name and code --- README.md | 5 +++++ code/rubyhelloworld.rb | 11 +++++++++++ 2 files changed, 16 insertions(+) create mode 100644 code/rubyhelloworld.rb diff --git a/README.md b/README.md index 2fdad90..da1b233 100644 --- a/README.md +++ b/README.md @@ -414,6 +414,11 @@ Start adding your names here: - Engineer at heart, if it isn't broken, break it! - [![github-alt][github-img]](https://github.com/slouchd) +### Kamal Iqlaas +- Pursuing Master in Business Intelligence and Data Analytics +- Love tech, learn tech, use tech, teach tech. +- [![github-alt][github-img]](https://github.com/Iqlaas) + ### Example Profile - I'm an example that you can copy, if you want :) - I work for... diff --git a/code/rubyhelloworld.rb b/code/rubyhelloworld.rb new file mode 100644 index 0000000..f4a8b5e --- /dev/null +++ b/code/rubyhelloworld.rb @@ -0,0 +1,11 @@ +class HelloWorld + def initialize(name) + @name = name.capitalize + end + def say_hi + puts "Hello #{@name}!" + end +end + +hello = HelloWorld.new("World") +hello.say_hi