Module: RBS::Test
Relationships & Source Files | |
Namespace Children | |
Modules:
| |
Classes:
| |
Defined in: | lib/rbs/test.rb, lib/rbs/test/errors.rb, lib/rbs/test/hook.rb, lib/rbs/test/observer.rb, lib/rbs/test/setup_helper.rb, lib/rbs/test/spy.rb, lib/rbs/test/tester.rb, lib/rbs/test/type_check.rb |
Constant Summary
-
CLASS =
# File 'lib/rbs/test.rb', line 19Kernel.instance_method(:class)
-
DEFINE_METHOD =
# File 'lib/rbs/test.rb', line 15Module.instance_method(:define_method)
-
INSPECT =
# File 'lib/rbs/test.rb', line 22Kernel.instance_method(:inspect)
-
INSTANCE_EVAL =
# File 'lib/rbs/test.rb', line 16BasicObject.instance_method(:instance_eval)
-
INSTANCE_EXEC =
# File 'lib/rbs/test.rb', line 17BasicObject.instance_method(:instance_exec)
-
IS_AP =
# File 'lib/rbs/test.rb', line 14Kernel.instance_method(:is_a?)
-
METHOD =
# File 'lib/rbs/test.rb', line 18Kernel.instance_method(:method)
-
METHODS =
# File 'lib/rbs/test.rb', line 23Kernel.instance_method(:methods)
-
PP =
# File 'lib/rbs/test.rb', line 21Kernel.instance_method(:pp)
-
SINGLETON_CLASS =
# File 'lib/rbs/test.rb', line 20Kernel.instance_method(:singleton_class)
Class Attribute Summary
- .suffix rw
Class Method Summary
-
.call(receiver, method, *args, &block)
See additional method definition at line 84.
- .reset_suffix
Class Attribute Details
.suffix (rw)
[ GitHub ]# File 'lib/rbs/test.rb', line 74
attr_accessor :suffix
Class Method Details
.call(receiver, method, *args, &block)
See additional method definition at line 84.
# File 'lib/rbs/test.rb', line 88
def self.call(receiver, method, *args, &block) method.bind_call(receiver, *args, &block) end
.reset_suffix
[ GitHub ]# File 'lib/rbs/test.rb', line 76
def reset_suffix self.suffix = "RBS_TEST_#{SecureRandom.hex(3)}" end