Sha256: 9094ef0285fa8d6889a1d0440f1d89a97fd34170368940cf99519ac620c88d9a

Contents?: true

Size: 298 Bytes

Versions: 7

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

module Pennyworth
  # :reek:ModuleInitialize
  module Models
    # Defines a standard error.
    StandardError = Data.define :name, :file_path, :line_number do
      def initialize name: nil, file_path: nil, line_number: nil
        super
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
pennyworth-14.3.0 lib/pennyworth/models/standard_error.rb
pennyworth-14.2.1 lib/pennyworth/models/standard_error.rb
pennyworth-14.2.0 lib/pennyworth/models/standard_error.rb
pennyworth-14.1.2 lib/pennyworth/models/standard_error.rb
pennyworth-14.1.1 lib/pennyworth/models/standard_error.rb
pennyworth-14.1.0 lib/pennyworth/models/standard_error.rb
pennyworth-14.0.0 lib/pennyworth/models/standard_error.rb