Sha256: d3b4ca3e130ea3ed41b567861d8129d6e7ad48846dbbaa11eb348ef3d391b7cf
Contents?: true
Size: 586 Bytes
Versions: 1
Compression:
Stored size: 586 Bytes
Contents
require_relative "positive_number_support/version" require "active_support" require "active_support/core_ext" require "positive_basic_support" [ :integer , :float ].each do | filename | require_relative "positive_number_support/#{ filename }_ext" end module PositiveNumberSupport extend ::ActiveSupport::Concern included do [ :Integer , :Float ].each do | class_name | eval <<-INCLUDE ::#{ class_name }.class_eval do include ::PositiveNumberSupport::#{ class_name }Ext end INCLUDE end end end include PositiveNumberSupport
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
positive_number_support-0.1.2 | lib/positive_number_support.rb |