aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-13 12:08:29 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-01-13 12:08:29 +0000
commit0c97040ff0b95ea8b85cce6467fbd2a291418874 (patch)
treeb30eb12df9611f7a8f3014f24cb308dc0ce1a687
parentdc2a2d025e601009fe776889d4c3222c7cbcb95e (diff)
downloadruby-0c97040ff0b95ea8b85cce6467fbd2a291418874.tar.gz
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
-rw-r--r--lib/observer.rb4
-rw-r--r--test/test_observer.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/observer.rb b/lib/observer.rb
index fa7446f384..acfe654301 100644
--- a/lib/observer.rb
+++ b/lib/observer.rb
@@ -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.
diff --git a/test/test_observer.rb b/test/test_observer.rb
index c2fa728004..8f8f24b3c5 100644
--- a/test/test_observer.rb
+++ b/test/test_observer.rb
@@ -1,4 +1,4 @@
-# frozen_string_literal: false
+# frozen_string_literal: true
require 'test/unit'
require 'observer'