Sha256: b56f20ceb7a9e7170e659e969117125890193a7da6d3ffd54c0d0c498b35a682
Contents?: true
Size: 381 Bytes
Versions: 5
Compression:
Stored size: 381 Bytes
Contents
# frozen_string_literal: true module XlsxWriter ## # An error returned from libxlsxwriter. Numeric code is accessible via #code class Error < StandardError # Error code attr_reader :code def initialize(msg, code = nil) super(msg) @code = code end def inspect "#<#{self.class}: #{self}#{" (code: #{code})" if code}>" end end end
Version data entries
5 entries across 5 versions & 1 rubygems