Class: Takumi::Packet::String
- Inherits:
-
Object
- Object
- Takumi::Packet::String
- Defined in:
- lib/takumi/packet/string.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(str) ⇒ String
constructor
A new instance of String.
- #to_s ⇒ Object
Constructor Details
#initialize(str) ⇒ String
Returns a new instance of String.
11 12 13 |
# File 'lib/takumi/packet/string.rb', line 11 def initialize(str) @str = str end |