lib/whirled_peas.rb in whirled_peas-0.5.0 vs lib/whirled_peas.rb in whirled_peas-0.6.0
- old
+ new
@@ -1,14 +1,12 @@
require 'logger'
require 'whirled_peas/errors'
require 'whirled_peas/config'
-require 'whirled_peas/debugger'
require 'whirled_peas/frame'
require 'whirled_peas/graphics'
require 'whirled_peas/settings'
-require 'whirled_peas/template'
require 'whirled_peas/utils'
require 'whirled_peas/version'
module WhirledPeas
def self.config
@@ -17,14 +15,10 @@
def self.configure(&block)
yield config
end
- def self.debug(config_file, option=nil)
- Debugger.new(config_file, option).debug
- end
-
def self.template(&block)
- require 'whirled_peas/template/composer'
- Template::Composer.build(&block)
+ require 'whirled_peas/graphics/composer'
+ Graphics::Composer.build(&block)
end
end