Class: Hotfile::String
- Inherits:
-
Object
- Object
- Hotfile::String
- Defined in:
- lib/hotfile/string.rb
Overview
String data type
Instance Method Summary collapse
-
#initialize(string) ⇒ String
constructor
A new instance of String.
- #to_i ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(string) ⇒ String
Returns a new instance of String.
6 7 8 |
# File 'lib/hotfile/string.rb', line 6 def initialize(string) @raw_value = string end |