Sha256: 96b66480de5a7b51345048ac0c520cc33ba1a78520e075a407aa9fa31b05b352

Contents?: true

Size: 339 Bytes

Versions: 10

Compression:

Stored size: 339 Bytes

Contents

Feature: Inspect with source

  Kernel#q, if given a block, prints the source for the block and then
  the inspected result of running the block.

  Scenario: Label and inspect an object
    Given a file with:
      """
      require "cute_print"
      q {1 + 2}
      """
    Then stderr should be
      """
      (1 + 2) is 3

      """

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cute_print-1.1.4 features/inspect/inspect_with_source.feature
cute_print-1.1.3 features/inspect/inspect_with_source.feature
cute_print-1.1.2 features/inspect/inspect_with_source.feature
cute_print-1.1.1 features/inspect/inspect_with_source.feature
cute_print-1.1.0 features/inspect/inspect_with_source.feature
cute_print-1.0.1 features/inspect/inspect_with_source.feature
cute_print-1.0.0 features/inspect/inspect_with_source.feature
cute_print-0.4.0 features/inspect/inspect_with_source.feature
cute_print-0.3.0 features/inspect/inspect_with_source.feature
cute_print-0.2.0 features/inspect/inspect_with_source.feature