Created
March 26, 2012 01:28
-
-
Save arwagner/2202072 to your computer and use it in GitHub Desktop.
Recumbent bicycles
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
class Recumbent < Bicycle | |
attr_reader :flag | |
def post_initialize(args) | |
@flat = args[:flag] | |
end | |
def local_spares | |
{flag: flag} | |
end | |
def default_chain | |
'9-speed' | |
end | |
def default_tire_size | |
'28' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, I think I get this now. I like the idea of thinking about what you can see from inside a class. And also the way you describe the "space between objects". You have an excellent way with words!