module HexaPDF::DictionaryFields::StringConverter

Converter module for string fields to automatically convert a string into UTF-8 encoding.

Public Class Methods

usable_for?(type) click to toggle source

This converter is usable if the type is the String class.

# File lib/hexapdf/dictionary_fields.rb, line 225
def self.usable_for?(type)
  type == String
end