class Person
attr_reader :name
attr_accessor :profession
def initialize name, profession = 'Software Engineer'
@name = name
@profession = profession
end
def stack
[
{Front: 'JavaScript', Library: 'React', Superset: 'TypeScript'},
{Back: 'Ruby', Framework: 'Rails'}
]
end
def uiUxDesigner?
unless profession === 'Software Engineer'
false
else
true
end
end
def technologies
[
{Design: 'Figma'},
{DataBase: 'PostgreSQL'},
{VersionControl: 'Git'},
{Hosting: 'Heroku, FireBase'}
]
end
def appreciation
'Thanks for checking out my profile 🤗'
end
end
samuel = Person.new('Samuel Hinga')
skhinga Goto Github PK
Name: Samuel Hinga
Type: User
Bio: Software Engineer
Location: Nairobi