class Object
Public Instance Methods
require_all(pattern)
click to toggle source
# File lib/slack_trello.rb, line 8 def require_all(pattern) root = File.expand_path("../", File.dirname(__FILE__)) Dir.glob("#{root}/#{pattern}/**/*.rb").sort.each { |path| require path } end