Class: ICU::Lib::UParseError

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/ffi-icu/lib.rb

Overview

Instance Method Summary collapse

Instance Method Details

#to_sObject



359
360
361
362
# File 'lib/ffi-icu/lib.rb', line 359

def to_s
  format('#<%<class>s:%<hash>x line: %<line>d offset: %<offset>d',
         class: self.class, hash: hash * 2, line: self[:line], offset: self[:offset])
end