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 199
199:     def initialize(str = "", indirect = false)
200:       
201:       unless str.is_a?(::String)
202:         raise TypeError, "Expected type String, received #{str.class}."
203:       end
204:       
205:       super(indirect, str)
206:     end

Public Instance methods

[Source]

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

[Validate]