mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	lib/observer.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									0f78a6a1b9
								
							
						
					
					
						commit
						82f61a1336
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
# frozen_string_literal: false
 | 
			
		||||
# frozen_string_literal: true
 | 
			
		||||
#
 | 
			
		||||
# Implementation of the _Observer_ object-oriented design pattern.  The
 | 
			
		||||
# following documentation is copied, with modifications, from "Programming
 | 
			
		||||
| 
						 | 
				
			
			@ -114,7 +114,7 @@
 | 
			
		|||
module Observable
 | 
			
		||||
 | 
			
		||||
  #
 | 
			
		||||
  # Add +observer+ as an observer on this object. so that it will receive
 | 
			
		||||
  # Add +observer+ as an observer on this object. So that it will receive
 | 
			
		||||
  # notifications.
 | 
			
		||||
  #
 | 
			
		||||
  # +observer+:: the object that will be notified of changes.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
# frozen_string_literal: false
 | 
			
		||||
# frozen_string_literal: true
 | 
			
		||||
require 'test/unit'
 | 
			
		||||
require 'observer'
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue