Sha256: 2c51eefdc31843beef0eed0ec4840638dc0aba5fd4611ca60412d97017956604

Contents?: true

Size: 408 Bytes

Versions: 4

Compression:

Stored size: 408 Bytes

Contents

#	This file is part of the "Utopia Framework" project, and is released under the MIT license.
#	Copyright 2010 Samuel Williams. All rights reserved.
#	See <utopia.rb> for licensing details.

require 'pathname'

Pathname.new(__FILE__).dirname.entries.each do |path|
	next unless /\.rb$/ === path.to_s

	name = File.basename(path.to_s, ".rb")
	
	if name != "all"
		require "utopia/middleware/#{name}"
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
utopia-0.10.0 lib/utopia/middleware/all.rb
utopia-0.9.61 lib/utopia/middleware/all.rb
utopia-0.9.60 lib/utopia/middleware/all.rb
utopia-0.9.59 lib/utopia/middleware/all.rb