minor whitespace touchup
gedit's syntax highlighting breaks on the previous
This commit is contained in:
		
							parent
							
								
									b6ef9b00ad
								
							
						
					
					
						commit
						80c41c99fc
					
				|  | @ -590,7 +590,7 @@ module Google | ||||||
|         unless headers.kind_of?(Enumerable) |         unless headers.kind_of?(Enumerable) | ||||||
|           # We need to use some Enumerable methods, relying on the presence of |           # We need to use some Enumerable methods, relying on the presence of | ||||||
|           # the #each method. |           # the #each method. | ||||||
|           class <<headers |           class << headers | ||||||
|             include Enumerable |             include Enumerable | ||||||
|           end |           end | ||||||
|         end |         end | ||||||
|  |  | ||||||
|  | @ -43,7 +43,7 @@ module Google | ||||||
|       def initialize(document_base, discovery_document) |       def initialize(document_base, discovery_document) | ||||||
|         @document_base = Addressable::URI.parse(document_base) |         @document_base = Addressable::URI.parse(document_base) | ||||||
|         @discovery_document = discovery_document |         @discovery_document = discovery_document | ||||||
|         metaclass = (class <<self; self; end) |         metaclass = (class << self; self; end) | ||||||
|         self.discovered_resources.each do |resource| |         self.discovered_resources.each do |resource| | ||||||
|           method_name = Google::INFLECTOR.underscore(resource.name).to_sym |           method_name = Google::INFLECTOR.underscore(resource.name).to_sym | ||||||
|           if !self.respond_to?(method_name) |           if !self.respond_to?(method_name) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue