Sha256: 4670b034ed7fb7e06f53a8c3c060878539f114b7a44ffd38634ddf30bfa50419

Contents?: true

Size: 804 Bytes

Versions: 1

Compression:

Stored size: 804 Bytes

Contents

require "positive_basic_support/version"

require "active_support"
require "active_support/core_ext"

require_relative "positive_basic_support/modules"
require_relative "positive_basic_support/modules/constants_as_class_methods"

require_relative "positive_basic_support/basic_object_ext"
require_relative "positive_basic_support/checker"
require_relative "positive_basic_support/checker/error_factory"

module PositiveBasicSupport

  extend ::ActiveSupport::Concern

  included do
    ::BasicObject.class_eval do
      include ::PositiveBasicSupport::BasicObjectExt
    end

    ::Module.class_eval do
      include ::PositiveBasicSupport::BasicObjectExt::ClassMethods
    end

    ::BasicObject.class_eval do
      include PositiveBasicSupport::Checker
    end
  end

end

include PositiveBasicSupport

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
positive_basic_support-0.2.0 lib/positive_basic_support.rb