Define Drop#each so we can use the new frozen/duping behavior
This commit is contained in:
		
							parent
							
								
									d5c3785d29
								
							
						
					
					
						commit
						48274244e3
					
				| 
						 | 
				
			
			@ -147,6 +147,12 @@ module Jekyll
 | 
			
		|||
        keys.each(&block)
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      def each(&block)
 | 
			
		||||
        each_key.each do |key|
 | 
			
		||||
          yield key, self[key]
 | 
			
		||||
        end
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      def merge(other, &block)
 | 
			
		||||
        self.dup.tap do |me|
 | 
			
		||||
          if block.nil?
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue