Class: Minitest::Expectation

Inherits:
Struct
  • Object
show all
Includes:
Expectations
Defined in:
lib/minitest/spec.rb,
lib/minitest/spec.rb

Overview

fucking hell rdoc…

Instance Attribute Summary collapse

Method Summary

Methods included from Expectations

#assert_empty, #assert_equal, #assert_in_delta, #assert_in_epsilon, #assert_includes, #assert_instance_of, #assert_kind_of, #assert_match, #assert_nil, #assert_operator, #assert_output, #assert_path_exists, #assert_pattern, #assert_raises, #assert_respond_to, #assert_same, #assert_silent, #assert_throws, #refute_empty, #refute_equal, #refute_in_delta, #refute_in_epsilon, #refute_includes, #refute_instance_of, #refute_kind_of, #refute_match, #refute_nil, #refute_operator, #refute_path_exists, #refute_pattern, #refute_respond_to, #refute_same

Instance Attribute Details

#ctxObject

Returns the value of attribute ctx

Returns:

  • (Object)

    the current value of ctx



31
32
33
# File 'lib/minitest/spec.rb', line 31

def ctx
  @ctx
end

#targetObject

Returns the value of attribute target

Returns:

  • (Object)

    the current value of target



31
32
33
# File 'lib/minitest/spec.rb', line 31

def target
  @target
end