Skip to content

Conversation

timsvoice
Copy link

Hi Jesse,

So I have achieved the output for the Panda challenge BUT I am using struct and have some questions:

  1. can you treat a struct as you would a class. Is my method appropriate?
  2. in order to move forward with the tiger challenge, I will need the struct to inherit from the "vehicle" class. Is this possible?

@jwo
Copy link
Member

jwo commented May 13, 2014

In this episode, let's not use a struct, and instead use a class instead.

so it should be

class Automobile < Vehicle
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