[ruby/singleton] Clean VERSION freezing
https://github.com/ruby/singleton/commit/f31334a736
This commit is contained in:
parent
d0c1eef511
commit
2f53c9fc62
@ -1,4 +1,4 @@
|
|||||||
# frozen_string_literal: false
|
# frozen_string_literal: true
|
||||||
|
|
||||||
# The Singleton module implements the Singleton pattern.
|
# The Singleton module implements the Singleton pattern.
|
||||||
#
|
#
|
||||||
@ -93,7 +93,6 @@
|
|||||||
#
|
#
|
||||||
module Singleton
|
module Singleton
|
||||||
VERSION = "0.2.0"
|
VERSION = "0.2.0"
|
||||||
VERSION.freeze
|
|
||||||
|
|
||||||
module SingletonInstanceMethods
|
module SingletonInstanceMethods
|
||||||
# Raises a TypeError to prevent cloning.
|
# Raises a TypeError to prevent cloning.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user