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
# TOM : The One Module | |
# | |
# An example Ruby module that demonstrates setting of module, class, class instance | |
# and instance variables for classes that include or extend the module | |
# | |
# (c) John Lane 20140218 | |
# | |
module Tom | |
extend self # makes module methods available as class and instance methods. |
NewerOlder