Method: Transpec::StaticContextInspector#non_monkey_patch_expectation_available?

Defined in:
lib/transpec/static_context_inspector.rb

#non_monkey_patch_expectation_available?Boolean Also known as: expect_available?

Returns:

  • (Boolean)


51
52
53
54
# File 'lib/transpec/static_context_inspector.rb', line 51

def non_monkey_patch_expectation_available?
  return @expectation_available if instance_variable_defined?(:@expectation_available)
  @expectation_available = match_scopes(NON_MONKEY_PATCH_EXPECTATION_AVAILABLE_CONTEXT)
end