Skip to content

finished homework#12

Open
BlueColorPencils wants to merge 1 commit intoAda-C5:masterfrom
BlueColorPencils:master
Open

finished homework#12
BlueColorPencils wants to merge 1 commit intoAda-C5:masterfrom
BlueColorPencils:master

Conversation

@BlueColorPencils
Copy link
Copy Markdown

To use, created var = Workers.new and call method var.three_months. Call var.workers or var.waiting to see their arrays.

Comment thread job-simulation.rb
def initialize
@waiting = ten_peeps
@workers = six_workers
end
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine, but what if we later want to change how many workers or hires we want? Can we refactor this code so that it's more scalable for other uses? Perhaps pass the ten/six as parameters instead?

@sudocrystal
Copy link
Copy Markdown

Nice job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants