Feature: Configure position format You can change the format which Kernel#ql uses to print the source position. String#% is called on the string you supply, with a hash argument having these keys: * :path * :filename * :line_number The default position format is: "%s:%d: " Scenario: Write full path Given a file named "example.rb" with: """ require "cute_print" CutePrint.configure do |c| c.position_format = "%s:%d: " end ql 123 """ Then stderr should be """ /tmp/.../example.rb:7: 123 """