Class Origami::ByteString
In: sources/parser/string.rb
sources/parser/obfuscation.rb
Parent: ::String

Class representing an ASCII String Object.

Methods

Included Modules

String

Public Class methods

Creates a new PDF String.

str:The string value.

[Source]

     # File sources/parser/string.rb, line 201
201:     def initialize(str = "")
202:       
203:       unless str.is_a?(::String)
204:         raise TypeError, "Expected type String, received #{str.class}."
205:       end
206:       
207:       super(str)
208:     end

Public Instance methods

[Source]

     # File sources/parser/obfuscation.rb, line 169
169:     def to_obfuscated_str
170:       to_s
171:     end

[Validate]