Sha256: 8eed81e143329bf1d4321a1d75c634fec1b7cdbe6239afcd7ae26ce6d42a5278

Contents?: true

Size: 280 Bytes

Versions: 11

Compression:

Stored size: 280 Bytes

Contents

module CutePrint
  class LocationLabel
    # @api private
    class Path

      def initialize(location)
        @location = location
      end

      def to_s
        "%s:%d: " % [
          @location.path,
          @location.line_number,
        ]
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cute_print-1.4.0 lib/cute_print/location_label/path.rb
cute_print-1.3.0 lib/cute_print/location_label/path.rb
cute_print-1.2.0 lib/cute_print/location_label/path.rb
cute_print-1.1.4 lib/cute_print/location_label/path.rb
cute_print-1.1.3 lib/cute_print/location_label/path.rb
cute_print-1.1.2 lib/cute_print/location_label/path.rb
cute_print-1.1.1 lib/cute_print/location_label/path.rb
cute_print-1.1.0 lib/cute_print/location_label/path.rb
cute_print-1.0.1 lib/cute_print/location_label/path.rb
cute_print-1.0.0 lib/cute_print/location_label/path.rb
cute_print-0.4.0 lib/cute_print/location_label/path.rb