lib/proforma.rb in proforma-1.0.0.pre.alpha vs lib/proforma.rb in proforma-1.0.0
- old
+ new
@@ -10,22 +10,19 @@
require 'acts_as_hashable'
require 'bigdecimal'
require 'forwardable'
require 'stringio'
-# Monkey-patching core libaries
-require_relative 'proforma/core_ext/hash'
-Hash.include ::Proforma::CoreExt::Hash
-
require_relative 'proforma/compiling'
require_relative 'proforma/document'
require_relative 'proforma/hash_evaluator'
+require_relative 'proforma/hash_refinements'
+require_relative 'proforma/model_factory'
require_relative 'proforma/modeling'
require_relative 'proforma/plain_text_renderer'
require_relative 'proforma/prototype'
require_relative 'proforma/template'
require_relative 'proforma/type_factory'
-require_relative 'proforma/model_factory'
# The top-level API that should be seen as the main entry point into this library.
module Proforma
class << self
def render(data, template, evaluator: HashEvaluator.new, renderer: PlainTextRenderer.new)