Module: FullyFreezeFreeze

Included in:
Complex, Enumerator, MatchData, Range, Rational, Regexp, String, Thread
Defined in:
lib/fully_freeze/use_freeze.rb

Overview

The mixin for classes where freeze is just simple freeze.

Instance Method Summary collapse

Instance Method Details

#fully_freeze(_progress = nil) ⇒ Object



5
6
7
# File 'lib/fully_freeze/use_freeze.rb', line 5

def fully_freeze(_progress=nil)
  freeze
end

#fully_frozen?(_progress = nil) ⇒ Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/fully_freeze/use_freeze.rb', line 9

def fully_frozen?(_progress=nil)
  frozen?
end