[前][次][番号順一覧][スレッド一覧]

ruby-changes:45248

From: kazu <ko1@a...>
Date: Fri, 13 Jan 2017 21:08:33 +0900 (JST)
Subject: [ruby-changes:45248] kazu:r57321 (trunk): lib/observer.rb: Specify frozen_string_literal: true.

kazu	2017-01-13 21:08:29 +0900 (Fri, 13 Jan 2017)

  New Revision: 57321

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57321

  Log:
    lib/observer.rb: Specify frozen_string_literal: true.

  Modified files:
    trunk/lib/observer.rb
    trunk/test/test_observer.rb
Index: test/test_observer.rb
===================================================================
--- test/test_observer.rb	(revision 57320)
+++ test/test_observer.rb	(revision 57321)
@@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/test/test_observer.rb#L1
-# frozen_string_literal: false
+# frozen_string_literal: true
 require 'test/unit'
 require 'observer'
 
Index: lib/observer.rb
===================================================================
--- lib/observer.rb	(revision 57320)
+++ lib/observer.rb	(revision 57321)
@@ -1,4 +1,4 @@ https://github.com/ruby/ruby/blob/trunk/lib/observer.rb#L1
-# 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 @@ https://github.com/ruby/ruby/blob/trunk/lib/observer.rb#L114
 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.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]