Sha256: ee35952269793e0476b13bbe69334025380883bfdda5250d602648b997567201

Contents?: true

Size: 288 Bytes

Versions: 11

Compression:

Stored size: 288 Bytes

Contents

module CutePrint
  class LocationLabel
    # @api private
    class Filename

      def initialize(location)
        @location = location
      end

      def to_s
        "%s:%d: " % [
          @location.filename,
          @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/filename.rb
cute_print-1.3.0 lib/cute_print/location_label/filename.rb
cute_print-1.2.0 lib/cute_print/location_label/filename.rb
cute_print-1.1.4 lib/cute_print/location_label/filename.rb
cute_print-1.1.3 lib/cute_print/location_label/filename.rb
cute_print-1.1.2 lib/cute_print/location_label/filename.rb
cute_print-1.1.1 lib/cute_print/location_label/filename.rb
cute_print-1.1.0 lib/cute_print/location_label/filename.rb
cute_print-1.0.1 lib/cute_print/location_label/filename.rb
cute_print-1.0.0 lib/cute_print/location_label/filename.rb
cute_print-0.4.0 lib/cute_print/location_label/filename.rb