Class: Exerb::Resource::VersionInfo::BlockType1String
- Inherits:
-
BlockType1
- Object
- BlockBase
- BlockType1
- Exerb::Resource::VersionInfo::BlockType1String
- Defined in:
- lib/exerb/resource/version_info.rb
Overview
BlockType1
Instance Attribute Summary
Attributes inherited from BlockBase
#children, #key, #type, #unicode, #value
Instance Method Summary collapse
-
#initialize(key, value) ⇒ BlockType1String
constructor
A new instance of BlockType1String.
Methods inherited from BlockBase
Constructor Details
#initialize(key, value) ⇒ BlockType1String
Returns a new instance of BlockType1String.
146 147 148 |
# File 'lib/exerb/resource/version_info.rb', line 146 def initialize(key, value) super(key, value.to_s.unpack("U*").pack("v*") + "\0\0", true) # UTF-8 to UTF-16LE end |