Skip to content
View gxolivei's full-sized avatar
  • Software Engineering Lead @ KIS
  • Florianópolis - Brazil
  • 12:19 (UTC -03:00)
  • LinkedIn in/gdiast

Block or report gxolivei

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
gxolivei/README.md
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)}"

Pinned Loading

  1. task-tempus task-tempus Public

    CLI in Ruby for task's time management

    Ruby 4

  2. algorithms-in-ruby algorithms-in-ruby Public

    Study repository for algorithms written in Ruby

    Ruby 1