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 / insuarance-bank Goto Github PK
View Code? Open in Web Editor NEWTrust Insurance
Home Page: https://skhinga.github.io/Insuarance-Bank/
License: MIT License