lib/rx.rb
# Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
$:.unshift File.dirname(__FILE__) # For use/testing when no gem is installed
# Require all of the Ruby files in the given directory.
#
# path - The String relative path from here to the directory.
#
# Returns nothing.
def require_all(path)
glob = File.join(File.dirname(__FILE__), path, '*.rb')
Dir[glob].sort.each do |f|
require f
end
end
require_all 'rx/internal/'
require_all 'rx/concurrency/'
require_all 'rx/subscriptions/'
require_all 'rx/core/'
require_all 'rx/linq/'
require_all 'rx/linq/observable/'
require_all 'rx/operators/'
require_all 'rx/subjects/'
require_all 'rx/testing/'
require_all 'rx/joins/'
require_all 'rx/'