Module: DateAndTimeFormatting

Included in:
Date, Time
Defined in:
merb-helpers/lib/merb-helpers/date_time_formatting.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
# File 'merb-helpers/lib/merb-helpers/date_time_formatting.rb', line 3

def self.included(base)
  base.class_eval do
    include DateAndTimeFormatting::InstanceMethods
    include OrdinalizedFormatting
    extend DateAndTimeFormatting::ClassMethods
  end
end