 Jack Nagel
		
	
	
		2503cedf2c
		
	
	
	
	Object#instance_exec for Ruby 1.8.6
			Jack Nagel
		
	
	
		2503cedf2c
		
	
	
	
	Object#instance_exec for Ruby 1.8.6
		
			
			Not thread safe! But I don't think we care.
We want to evaluate the env DSL block in the context of ENV for asthetic
reasons, but we also want access to methods on the requirement instance.
We can use #instance_exec to pass the requirement itself into the block:
  class Foo < Requirement
    env do |req|
      append 'PATH', req.some_path
    end
    def some_path
      which 'something'
    end
  end
Also add a simplified version of Object#instance_exec for Ruby 1.8.6.
		
	
Homebrew
Features, usage and installation instructions are summarized on the homepage.
What Packages Are Available?
- You can browse the Formula directory on GitHub.
- Or type brew searchfor a list.
- Or run brew serverto browse packages off of a local web server.
- Or visit braumeister.org to browse packages online.
More Documentation
brew help or man brew or check our wiki.
Who Are You?
I'm Max Howell and I'm a splendid chap.
								4.6.25
								
	Latest
							
						
					Languages
				
				
								
								
									Ruby
								
								92%
							
						
							
								
								
									Shell
								
								5.2%
							
						
							
								
								
									Roff
								
								2.1%
							
						
							
								
								
									HTML
								
								0.5%