Sha256: 1911d8aba08ba1f882116fda0552f296068d90becb9371059b7992404f6a9ed9

Contents?: true

Size: 470 Bytes

Versions: 1

Compression:

Stored size: 470 Bytes

Contents

require "odpt_common/version"

require "positive_support"
require "active_support"
require "active_support/core_ext"

require "odpt_common/calc_time"
require "odpt_common/string_ext"

module OdptCommon

  extend ::ActiveSupport::Concern

  included do

    [ :String ].each do | class_name |
      eval <<-INCLUDE
        ::#{ class_name }.class_eval do
          include ::OdptCommon::#{ class_name }Ext
        end
      INCLUDE
    end

  end

end

include OdptCommon

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
odpt_common-0.3.0 lib/odpt_common.rb