mirror of
https://github.com/c0de-archive/hacktoberfest-2018.git
synced 2025-01-06 17:02:48 +00:00
Add name and code
This commit is contained in:
parent
735adcf84a
commit
95b5b958c7
@ -414,6 +414,11 @@ Start adding your names here:
|
|||||||
- Engineer at heart, if it isn't broken, break it!
|
- Engineer at heart, if it isn't broken, break it!
|
||||||
- [![github-alt][github-img]](https://github.com/slouchd)
|
- [![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
|
### Example Profile
|
||||||
- I'm an example that you can copy, if you want :)
|
- I'm an example that you can copy, if you want :)
|
||||||
- I work for...
|
- I work for...
|
||||||
|
11
code/rubyhelloworld.rb
Normal file
11
code/rubyhelloworld.rb
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user