Skip to content

Instantly share code, notes, and snippets.

@banister
Created August 29, 2012 13:54
Show Gist options
  • Save banister/738c79094b741b4767cc to your computer and use it in GitHub Desktop.
Save banister/738c79094b741b4767cc to your computer and use it in GitHub Desktop.
When this module is included in another, Ruby calls
append_features in this module, passing it the
receiving module in _mod_. Ruby's default implementation is
to add the constants, methods, and module variables of this module
to _mod_ if this module has not already been added to
_mod_ or one of its ancestors. See also Module#include.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment