Created
April 18, 2012 05:12
-
-
Save willrjmarshall/2411227 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
# This is the API everything inherits from | |
class GenericApplicationConfigurationClass(object): | |
def initialize(self): | |
self.looper = Looper() | |
# And the small, configuration-only script I intend to write for each specific case | |
class SetUpMyApplication(GenericApplicationConfigurationClass): | |
def initialize(self): | |
# boilerplate | |
self.looper.configure |looper| | |
looper.set_height(height()) | |
def height(self): | |
20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment