class Object
Public Instance Methods
require_dir(dir)
click to toggle source
# File lib/vcard.rb, line 53 def require_dir(dir) base = File.expand_path("../", __FILE__) Dir.glob(File.join(base, dir, "**", "*.rb")).each do |path| require path.gsub(/\.rb\Z/, "") end end