Module: RBS::Test
- Defined in:
- lib/rbs/test.rb,
lib/rbs/test/hook.rb,
lib/rbs/test/errors.rb,
lib/rbs/test/tester.rb,
lib/rbs/test/observer.rb,
lib/rbs/test/guaranteed.rb,
lib/rbs/test/type_check.rb,
lib/rbs/test/setup_helper.rb
Defined Under Namespace
Modules: Errors, Guaranteed, Hook, Observer, SetupHelper Classes: ArgumentsReturn, CallTrace, Tester, TypeCheck
Constant Summary collapse
- IS_AP =
Kernel.instance_method(:is_a?)
- DEFINE_METHOD =
Module.instance_method(:define_method)
- INSTANCE_EVAL =
BasicObject.instance_method(:instance_eval)
- INSTANCE_EXEC =
BasicObject.instance_method(:instance_exec)
- METHOD =
Kernel.instance_method(:method)
- CLASS =
Kernel.instance_method(:class)
- SINGLETON_CLASS =
Kernel.instance_method(:singleton_class)
- PP =
Kernel.instance_method(:pp)
- INSPECT =
Kernel.instance_method(:inspect)
- METHODS =
Kernel.instance_method(:methods)
- RESPOND_TOP =
Kernel.instance_method(:respond_to?)
Class Attribute Summary collapse
-
.suffix ⇒ Object
Returns the value of attribute suffix.
Class Method Summary collapse
Class Attribute Details
.suffix ⇒ Object
Returns the value of attribute suffix.
77 78 79 |
# File 'lib/rbs/test.rb', line 77 def suffix @suffix end |
Class Method Details
.call(receiver, method, *args, &block) ⇒ Object
87 88 89 |
# File 'lib/rbs/test.rb', line 87 def self.call(receiver, method, *args, &block) __skip__ = method.bind_call(receiver, *args, &block) end |
.reset_suffix ⇒ Object
79 80 81 |
# File 'lib/rbs/test.rb', line 79 def reset_suffix self.suffix = "RBS_TEST_#{SecureRandom.hex(3)}" end |