Sha256: aaa2457175412d6978b9515214c6b1db84de7b2a89b66c06ecacd019a0437131
Contents?: true
Size: 786 Bytes
Versions: 2
Compression:
Stored size: 786 Bytes
Contents
Feature: Configure location format You can change the format which Kernel#ql uses to print the source location. By default, just the filename is printed, but you can cause the full path. to be printed instead. Scenario: Write full path Given a file named "example.rb" with: """ require "cute_print" CutePrint.configure do |c| c.location_format = :path end ql 123 """ Then stderr should be """ /tmp/.../example.rb:7: 123 """ Scenario: Write filename Given a file named "example.rb" with: """ require "cute_print" CutePrint.configure do |c| c.location_format = :filename end ql 123 """ Then stderr should be """ example.rb:7: 123 """
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cute_print-0.3.0 | features/configuring/configure_position_format.feature |
cute_print-0.2.0 | features/configuring/configure_position_format.feature |