This video shows how to create your own classes by means of a case study--looking at a class I ported Licensed under Creative Commons Attribution-NonCommercial-NoDerivs 3.0 license: http://creativecommons.org/licenses/by-nc-nd/3.0/legalcode I ported the class from Oreilly's Beginning Python for Bioinformatics article
Help us keep Vuze open and free
We’d like you to help us by being the eyes and ears of the Vuze community. If you come across content you consider to be inappropriate,
or in violation of the original copyright owner’s rights, please let us know by clicking the Report button above.
Learn more.
View the complete Terms of Service.
Hi, I'm the guy that made the screencast. Approximately 1 minute 58 seconds into the movie, I talk about the "part where you encounter them first". I'm not sure that's accurate. If you just remember to let the interpreter know about instance variables by initializing them in the constructor(def initialize), you should be fine. Just define your class variables before def initialize
Comments
Hi, I'm the guy that made the screencast. Approximately 1 minute 58 seconds into the movie, I talk about the "part where you encounter them first". I'm not sure that's accurate. If you just remember to let the interpreter know about instance variables by initializing them in the constructor(def initialize), you should be fine. Just define your class variables before def initialize