class CutePrint::LocationLabel::Filename

@api private

Public Class Methods

new(location) click to toggle source
# File lib/cute_print/location_label/filename.rb, line 6
def initialize(location)
  @location = location
end

Public Instance Methods

to_s() click to toggle source
# File lib/cute_print/location_label/filename.rb, line 10
def to_s
  "%s:%d: " % [
    @location.filename,
    @location.line_number,
  ]
end