Sha256: 37e0f52d5399536cd76e477259448d4b583a60c55e9e028aed9d098e2f76081c

Contents?: true

Size: 649 Bytes

Versions: 1

Compression:

Stored size: 649 Bytes

Contents

require "positive_group_support/version"

require "active_support"
require "active_support/core_ext"

require "positive_basic_support"
require "positive_number_support"

if RUBY_VERSION < "2.2"
  require "itself"
end

[ :array , :hash ].each do | filename |
  require_relative "positive_group_support/#{ filename }_ext"
end

module PositiveGroupSupport

  extend ::ActiveSupport::Concern

  included do

    [ :Array , :Hash ].each do | class_name |
      eval <<-INCLUDE
        ::#{ class_name }.class_eval do
          include ::PositiveGroupSupport::#{ class_name }Ext
        end
      INCLUDE
    end

  end

end

include PositiveGroupSupport

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
positive_group_support-0.1.2 lib/positive_group_support.rb