lib/polygon.rb in polygon-0.0.3 vs lib/polygon.rb in polygon-0.9.1
- old
+ new
@@ -1,23 +1,14 @@
require "polygon/version"
require "polygon/loader"
+require "polygon/core_ext"
#
# A web framework powered by sinatra for mostly static websites
#
module Polygon
- def default_loader
- @default_loader ||= ContentLoader.new.enable_all!
- end
- module_function :default_loader
-
- def default_loader=(loader)
- @default_loader = loader
- end
- module_function :default_loader=
-
end # module Polygon
-require 'polygon/content_loader'
-require 'polygon/content'
+require 'polygon/entry'
+require 'polygon/database'
require 'polygon/helpers'
require 'polygon/base'
-
+require 'polygon/dialect'