Last active
August 29, 2015 14:28
-
-
Save 0x5d/da06ed24f5a894cc3127 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
# OtherModule has the methods do_stuff_with and do_magic, | |
# which are like, super important, ok? | |
require 'other_module' | |
module AwesomeGem | |
class AwesomeClass | |
include OtherModule | |
do_stuff_with AwesomeGem.configuration.awesome_string | |
do_magic if AwesomeGem.configuration.do_magic? | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment