lib/confrider.rb in confrider-0.0.1 vs lib/confrider.rb in confrider-0.0.2

- old
+ new

@@ -1,8 +1,15 @@ require 'confrider/version' +require 'confrider/deep_merge' require 'confrider/core' module Confrider def self.from_hash(hash) - Confrider::Core.new hash + Confrider::Core.new.tap do |o| + o.from_hash hash + end end +end + +def Confrider(hash) + Confrider.from_hash(hash) end