Method: Origami::HexaString#initialize
- Defined in:
- lib/origami/string.rb
#initialize(str = "") ⇒ HexaString
Creates a new PDF hexadecimal String.
- str
-
The string value.
182 183 184 185 186 187 188 189 |
# File 'lib/origami/string.rb', line 182 def initialize(str = "") unless str.is_a?(::String) raise TypeError, "Expected type String, received #{str.class}." end super(str) end |