Created
June 5, 2016 12:14
-
-
Save codesword/5dcd9f9f48b0a63e51723068c55cec3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'forwardable' | |
class Director | |
attr_reader :training_team, :fellows | |
def_delegator :training_team, :train_new_fellow, :train_new_fellow | |
def initialize | |
@training_team = TrainingTeam.new | |
end | |
end | |
director_of_training = Director.new | |
director_of_training.train_new_fellow("Aboki") # => trains Aboki for six months |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment