Module: MTrack::Extension
- Included in:
- Mixin
- Defined in:
- lib/mtrack/extension.rb
Overview
This module is extended by Mixin and all custom extensions of Mixin. You should not extend this module directly, instead simply include Mixin into your custom extension:
module MyExtension
include MTrack::Mixin
# Define custom methods here.
end
module M
extend MyExtension
# You can use MTrack's and MyExtension's methods here.
end
If you’re overriding the extended or included methods in your custom extension always make sure to call super, so MTrack can be properly initialized.