Sha256: 23e7485b3d4b89fdebd324320723dd05ecd07fe7291ddac829c3e9d34c68974b

Contents?: true

Size: 437 Bytes

Versions: 14

Compression:

Stored size: 437 Bytes

Contents

class EcoRake
  module Sample
    module Concern
      module Base
        class << self
          def included(base)
            super(base)
            base.extend ClassMethods
          end
        end

        module ClassMethods
          def included(base)
            super(base)
            base.extend self::ClassMethods if defined?(self::ClassMethods)
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
eco-rake-0.2.7 lib/eco-rake/lib/concern/base.rb
eco-rake-0.2.6 lib/eco-rake/lib/concern/base.rb
eco-rake-0.2.5 lib/eco-rake/lib/concern/base.rb
eco-rake-0.2.4 lib/eco-rake/lib/concern/base.rb
eco-rake-0.2.3 lib/eco-rake/lib/concern/base.rb
eco-rake-0.2.2 lib/eco-rake/lib/concern/base.rb
eco-rake-0.2.1 lib/eco-rake/lib/concern/base.rb
eco-rake-0.2.0 lib/eco-rake/lib/concern/base.rb
eco-rake-0.1.6 lib/eco-rake/lib/concern/base.rb
eco-rake-0.1.5 lib/eco-rake/lib/concern/base.rb
eco-rake-0.1.4 lib/eco-rake/lib/concern/base.rb
eco-rake-0.1.3 lib/eco-rake/lib/concern/base.rb
eco-rake-0.1.2 lib/eco-rake/lib/concern/base.rb
eco-rake-0.1.1 lib/eco-rake/lib/concern/base.rb