Skip to content

Conversation

@mikebcapp
Copy link

Hi Jesse

I wasn't sure what was required for the passenger part and how it interacted with the train hash?

Thanks
Mike

@jwo
Copy link
Member

jwo commented Nov 10, 2013

Looks good. The idea of the passenger is that you could then use it like this:

def board_passenger passenger
  puts "boarded: #{passenger.name} going to #{passenger.train[:current_city]}"
end

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