Sha256: d090b220f622260e4588fd078b58d4a4e126e4f560c9cf5716bcd7410562f690

Contents?: true

Size: 407 Bytes

Versions: 2

Compression:

Stored size: 407 Bytes

Contents

#	This file is part of the "Utopia Framework" project, and is licensed under the GNU AGPLv3.
#	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

2 entries across 2 versions & 1 rubygems

Version Path
utopia-0.9.58 lib/utopia/middleware/all.rb
utopia-0.9.57 lib/utopia/middleware/all.rb