Class: Frozen::Array
- Inherits:
-
Array
- Object
- Array
- Frozen::Array
- Defined in:
- lib/frozen-objects/array.rb
Overview
Note:
All calls are Array
compatible.
Implicitly frozen Array
.
Instance Method Summary collapse
-
#initialize(*args, &block) ⇒ Array
constructor
A new instance of Array.
Constructor Details
#initialize(*args, &block) ⇒ Array
Returns a new instance of Array.
17 18 19 20 |
# File 'lib/frozen-objects/array.rb', line 17 def initialize(*args, &block) super(*args, &block) self.freeze end |