Class: RCheck::Assertions::Pending

Inherits:
Abstract
  • Object
show all
Defined in:
lib/rcheck/assertions.rb

Instance Attribute Summary

Attributes inherited from Abstract

#result

Instance Method Summary collapse

Methods inherited from Abstract

#debuggers, #inspect

Constructor Details

#initialize(desc = nil) ⇒ Pending

Returns a new instance of Pending.



46
47
48
49
50
51
# File 'lib/rcheck/assertions.rb', line 46

def initialize(desc=nil)
  @result = Result.new(
    introspection:  desc,
    status:         :pending,
    location:       caller(3))
end