Class: Weak::UndefinedClass
Overview
Instance Method Summary collapse
-
#initialize ⇒ UndefinedClass
constructor
A new instance of UndefinedClass.
-
#to_s ⇒ String
(also: #inspect)
The string ‘“UNDEFINED”`.
Constructor Details
permalink #initialize ⇒ UndefinedClass
Returns a new instance of UndefinedClass.
29 30 31 |
# File 'lib/weak.rb', line 29 def initialize freeze end |
Instance Method Details
permalink #to_s ⇒ String Also known as: inspect
Returns the string ‘“UNDEFINED”`.
34 35 36 |
# File 'lib/weak.rb', line 34 def to_s "UNDEFINED" end |