Class: IceNine::Freezer::Range
- Inherits:
-
Object
- Object
- IceNine::Freezer
- Object
- IceNine::Freezer::Range
- Defined in:
- lib/ice_nine/freezer/range.rb
Overview
A freezer class for handling Range objects
Constant Summary
Constants inherited from IceNine::Freezer
Class Method Summary collapse
-
.guarded_deep_freeze(range, recursion_guard) ⇒ Range
Deep Freeze a Range.
Methods inherited from IceNine::Freezer
[], const_lookup, deep_freeze, deep_freeze!
Class Method Details
.guarded_deep_freeze(range, recursion_guard) ⇒ Range
Deep Freeze a Range
20 21 22 23 24 25 |
# File 'lib/ice_nine/freezer/range.rb', line 20 def self.guarded_deep_freeze(range, recursion_guard) super Freezer.guarded_deep_freeze(range.begin, recursion_guard) Freezer.guarded_deep_freeze(range.end, recursion_guard) range end |