Sha256: 12b5d55537eff0e57107f77934419aa72f48b0aa5cf1a05a769723f7ae4f1b2e

Contents?: true

Size: 340 Bytes

Versions: 5

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module Epuber
  Location = Struct.new(:path, :lineno, :column, keyword_init: true) do
    # !@attribute [r] path
    #   @return [String] path to file

    # !@attribute [r] lineno
    #   @return [Integer, nil] line number

    # !@attribute [r] column
    #   @return [Integer, nil] column number
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
epuber-0.11.1 lib/epuber/utils/location.rb
epuber-0.11.0 lib/epuber/utils/location.rb
epuber-0.10.3 lib/epuber/utils/location.rb
epuber-0.10.2 lib/epuber/utils/location.rb
epuber-0.10.1 lib/epuber/utils/location.rb