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