# File lib/confstruct/configuration.rb, line 17 def configure *args, &block if args[0].respond_to?(:each_pair) self.deep_merge!(HashWithStructAccess.from_hash(args[0])) end eval_or_yield self, &block after_config! self self end