Module: Hammock::TimePatches
- Defined in:
- lib/hammock/monkey_patches/time.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Constant Summary collapse
- MixInto =
Time
Class Method Summary collapse
-
.included(base) ⇒ Object
:nodoc:.
Class Method Details
.included(base) ⇒ Object
:nodoc:
5 6 7 8 |
# File 'lib/hammock/monkey_patches/time.rb', line 5 def self.included base # :nodoc: base.send :include, InstanceMethods base.send :extend, ClassMethods # TODO maybe include in the metaclass instead of extending the class? end |