lib/eco/data/files/helpers.rb in eco-helpers-2.0.16 vs lib/eco/data/files/helpers.rb in eco-helpers-2.0.17

- old
+ new

@@ -1,14 +1,16 @@ module Eco module Data module Files DEFAULT_TIMESTAMP_PATTERN = '%Y-%m-%dT%H%M%S' - def self.included(base) - base.send(:include, InstanceMethods) - base.extend(ClassMethods) + class << self + def included(base) + base.send(:include, InstanceMethods) + base.extend(ClassMethods) + end end - + module InstanceMethods end module ClassMethods