-
-
Save havenwood/a068171cd5926662d607 to your computer and use it in GitHub Desktop.
#ruby irc
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
module Genius # if you aren't instanciating, use a module | |
@db = nil # instance variables are camel_case | |
def self.set_db(connection) # methods are camel_case | |
@db = connection | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment