Sha256: d5c5d2cb8f9375270de2aab5766111682395f2416cf1a12862c92ca0f163bf85
Contents?: true
Size: 553 Bytes
Versions: 1
Compression:
Stored size: 553 Bytes
Contents
require_relative 'base' module Spectus module Result # The class that is responsible for reporting that the expectation is true. class Pass include Base # The value of the expectation of the spec. # # @return [Boolean] the spec was true. def result? true end # Identify the state of the result. # # @return [String] the char that identify the state of the result. def to_char if got '.' else 'I' end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spectus-2.2.0 | lib/spectus/result/pass.rb |