class DTA::CharacterConversionHash

Public Instance Methods

[](key) click to toggle source

Character conversion must be done before building the final record to prevent changing the length.

@return [String] The original value with character conversion applied.

Calls superclass method
# File lib/payment_dta/character_conversion_hash.rb, line 11
def [](key)
  (value = super(key)).respond_to?(:each_char) ? dta_string(value) : value
end