Skip to content

gxolivei/gxolivei

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 

Repository files navigation

class SoftwareEngineeringLead
  attr_accessor :name, :current_work, :hobbies, :github_profile

  def initialize(name, current_work, hobbies, github_profile)
    @name = name
    @current_work = current_work
    @hobbies = hobbies
    @github_profile = github_profile
  end

  def get_city(city)
    city.call
  end

  def get_ambitions(ambitions)
    ambitions.map(&:call)
  end
end
gabriel_hobbies = [
  'Creating all things computer-related',
  'Reading', 
  'Listening to Classical Music', 
  'Studying New Technologies', 
  'Going Out with Family', 
  'Meeting Friends', 
  'Laughing as Much as Possible'
]

gabriel = SoftwareEngineeringLead.new('Gabriel', 'Software Engineering Lead @ KIS', gabriel_hobbies, 'Personal')

city = -> { 'Florianópolis' }
ambitions = [-> { 'Building a SaaS' }, -> { 'Expanding knowledge' }]
puts "City: #{gabriel.get_city(city)}"
puts "Ambitions: #{gabriel.get_ambitions(ambitions)}"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors