Sha256: 7acc14c0a3a495a5802b61be90b5de1eefb5945c4e99488c5bf5c9fa5a9bddda
Contents?: true
Size: 619 Bytes
Versions: 2
Compression:
Stored size: 619 Bytes
Contents
# encoding: utf-8 # This module encapsulates the entry point functionality to # the extension modules. #-- # Copyright (c) 2013 Ivan Povalyukhin. # Licensed under the same terms as Ruby. No warranty is provided. module Rubymisc class << self def rbm_ext_load(ext_prefix = '') #:nodoc: ->(ext_file) { require ext_prefix + ext_file } end private :rbm_ext_load end end Dir[File.expand_path('../rubymisc/ext/*.rb', __FILE__)].each &Rubymisc.send(:rbm_ext_load) %w{ self version regex exceptional }.each &Rubymisc.send(:rbm_ext_load, 'rubymisc/') module Rbm include Rubymisc extend Rubymisc end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubymisc-0.2.0 | lib/rubymisc.rb |
rubymisc-0.1.0 | lib/rubymisc.rb |