module FormatLogs

Constants

VERSION

format_logs version

Public Class Methods

included(base) click to toggle source
# File lib/format_logs.rb, line 5
def self.included(base)
  puts "Adding formatting to #{base.name}"
  base.send :extend, ClassMethods
  
  base.send :include, InstanceMethods
  base.alias_method_chain :add, :formatting # if base.respond_to? :add
end