Class Spec::Mocks::ArgumentMatchers::BooleanMatcher

  1. lib/spec/mocks/argument_matchers.rb
Parent: Object

Methods

public class

  1. new

public instance

  1. ==

Public class methods

new (ignore)
[show source]
# File lib/spec/mocks/argument_matchers.rb, line 45
        def initialize(ignore)
        end

Public instance methods

== (value)
[show source]
# File lib/spec/mocks/argument_matchers.rb, line 48
        def ==(value)
          TrueClass === value || FalseClass === value
        end