Skip to content

Commit

Permalink
lib/observer.rb: Specify frozen_string_literal: true.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
znz committed Jan 13, 2017
1 parent 0f78a6a commit 82f61a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/observer.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion test/test_observer.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require 'test/unit'
require 'observer'

Expand Down

0 comments on commit 82f61a1

Please sign in to comment.