Sha256: e118797901d1b441ca78530d4d1253bd866224b4d97389abf5c445f1b3df5ba2
Contents?: true
Size: 329 Bytes
Versions: 3
Compression:
Stored size: 329 Bytes
Contents
module RoSupport module StringHandler def self.get_dirname_same_with(file) file.gsub /\.rb$/, '' end end end dirname = RoSupport::StringHandler.get_dirname_same_with __FILE__ Dir[File.join dirname, "**"].each do |file| require file end module RoSupport module StringHandler include Common end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ro_support-0.0.8 | lib/ro_support/string_handler.rb |
ro_support-0.0.7 | lib/ro_support/string_handler.rb |
ro_support-0.0.6 | lib/ro_support/string_handler.rb |