Module Expectations::Results
In: lib/expectations/results.rb

Methods

error?   failure?   fulfilled?   included   new  

Classes and Modules

Module Expectations::Results::BehaviorBasedFailure
Module Expectations::Results::ClassMethods
Module Expectations::Results::Error
Module Expectations::Results::Fulfilled
Module Expectations::Results::StateBasedFailure

Public Class methods

[Source]

    # File lib/expectations/results.rb, line 18
18:   def self.included(klass)
19:     klass.extend ClassMethods
20:   end

[Source]

   # File lib/expectations/results.rb, line 2
2:   def initialize(file, line)
3:     self.line, self.file = line, file
4:   end

Public Instance methods

[Source]

    # File lib/expectations/results.rb, line 14
14:   def error?
15:     self.is_a?(Expectations::Results::Error)
16:   end

[Source]

    # File lib/expectations/results.rb, line 10
10:   def failure?
11:     self.is_a?(Expectations::Results::StateBasedFailure) || self.is_a?(Expectations::Results::BehaviorBasedFailure)
12:   end

[Source]

   # File lib/expectations/results.rb, line 6
6:   def fulfilled?
7:     self.is_a?(Expectations::Results::Fulfilled)
8:   end

[Validate]