Sha256: 8a5b06d1e321417a411b02d713490574b5ff929c3ac9034a15ab96d3cf376b4f

Contents?: true

Size: 350 Bytes

Versions: 11

Compression:

Stored size: 350 Bytes

Contents

Feature: Configure output

  By default, output is written to $stderr.  You can change where
  output goes.

  Scenario: Write to $stdout
    Given a file with:
      """
      require "cute_print"

      CutePrint.configure do |c|
        c.out = $stdout
      end

      q "abc"
      """
    Then stdout should be
      """
      "abc"

      """

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cute_print-1.1.4 features/configuring/configure_output.feature
cute_print-1.1.3 features/configuring/configure_output.feature
cute_print-1.1.2 features/configuring/configure_output.feature
cute_print-1.1.1 features/configuring/configure_output.feature
cute_print-1.1.0 features/configuring/configure_output.feature
cute_print-1.0.1 features/configuring/configure_output.feature
cute_print-1.0.0 features/configuring/configure_output.feature
cute_print-0.4.0 features/configuring/configure_output.feature
cute_print-0.3.0 features/configuring/configure_output.feature
cute_print-0.2.0 features/configuring/configure_output.feature
cute_print-0.1.0 features/configuring/configure_output.feature