lib/chamber/context_resolver.rb in chamber-2.1.8 vs lib/chamber/context_resolver.rb in chamber-2.1.9

- old
+ new

@@ -1,9 +1,11 @@ +require 'hashie/mash' + module Chamber class ContextResolver def initialize(options = {}) - self.options = options.dup + self.options = Hashie::Mash.new(options) end def resolve options[:rootpath] ||= Pathname.pwd options[:rootpath] = Pathname.new(options[:rootpath])