lib/docx/builder.rb in docx-builder-0.2.1 vs lib/docx/builder.rb in docx-builder-0.2.2
- old
+ new
@@ -7,6 +7,21 @@
require_relative "builder/version"
require_relative "builder/decoder"
require_relative "builder/encoder"
require_relative 'builder/cleaners'
require_relative "builder/xml_processor"
-require_relative "builder/template"
+require_relative "builder/template"
+require_relative "builder/configuration"
+
+module Docx
+ module Builder
+ class << self
+ def configuration
+ @configuration ||= Configuration.new
+ end
+
+ def configure
+ yield(configuration)
+ end
+ end
+ end
+end
\ No newline at end of file