Skip to content

Commit

Permalink
Add the frozen string literal pragma for ruby 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewrudy committed Dec 26, 2015
1 parent 28e2354 commit e9e787d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/memoist.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
require 'memoist/core_ext/singleton_class'

module Memoist
Expand Down
1 change: 1 addition & 0 deletions lib/memoist/core_ext/singleton_class.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Kernel
# Returns the object's singleton class.
def singleton_class
Expand Down
1 change: 1 addition & 0 deletions lib/memoist/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
module Memoist
VERSION = "0.14.0"
end

0 comments on commit e9e787d

Please sign in to comment.