mirror of
				https://github.com/rest-client/rest-client.git
				synced 2022-11-09 13:49:40 -05:00 
			
		
		
		
	Fix a large number of style nits.
Working slowly through the rubocop list.
This commit is contained in:
		
							parent
							
								
									85ad601e33
								
							
						
					
					
						commit
						543dbc3816
					
				
					 12 changed files with 41 additions and 38 deletions
				
			
		| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
#!/usr/bin/env ruby
 | 
			
		||||
 | 
			
		||||
$:.unshift File.dirname(__FILE__) + "/../lib"
 | 
			
		||||
$LOAD_PATH.unshift File.dirname(__FILE__) + "/../lib"
 | 
			
		||||
 | 
			
		||||
require 'rubygems'
 | 
			
		||||
require 'restclient'
 | 
			
		||||
| 
						 | 
				
			
			@ -58,7 +58,7 @@ end
 | 
			
		|||
POSSIBLE_VERBS.each do |m|
 | 
			
		||||
  eval <<-end_eval
 | 
			
		||||
def  #{m}(path, *args, &b)
 | 
			
		||||
	r[path].#{m}(*args, &b)
 | 
			
		||||
  r[path].#{m}(*args, &b)
 | 
			
		||||
end
 | 
			
		||||
  end_eval
 | 
			
		||||
end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue