Module: TurboTest::ConstantTracer::Klass::InstanceMethods
- Included in:
- Regexp
- Defined in:
- lib/turbo_test_constant_tracer/klass.rb
Instance Attribute Summary collapse
-
#turbo_test_name ⇒ Object
Returns the value of attribute turbo_test_name.
-
#turbo_test_path ⇒ Object
Returns the value of attribute turbo_test_path.
Instance Method Summary collapse
- #__getobj__ ⇒ Object
- #initialize(object) ⇒ Object
- #turbo_test_proxied_class ⇒ Object (also: #__turbo_test_proxy_object)
Instance Attribute Details
#turbo_test_name ⇒ Object
Returns the value of attribute turbo_test_name.
44 45 46 |
# File 'lib/turbo_test_constant_tracer/klass.rb', line 44 def turbo_test_name @turbo_test_name end |
#turbo_test_path ⇒ Object
Returns the value of attribute turbo_test_path.
44 45 46 |
# File 'lib/turbo_test_constant_tracer/klass.rb', line 44 def turbo_test_path @turbo_test_path end |
Instance Method Details
#__getobj__ ⇒ Object
51 52 53 54 55 56 57 |
# File 'lib/turbo_test_constant_tracer/klass.rb', line 51 def __getobj__ result = super TurboTest::ConstantTracer::EventPublisher.publish( turbo_test_name, turbo_test_path ) result end |
#initialize(object) ⇒ Object
46 47 48 49 |
# File 'lib/turbo_test_constant_tracer/klass.rb', line 46 def initialize(object) super check_object_type!(object) end |
#turbo_test_proxied_class ⇒ Object Also known as: __turbo_test_proxy_object
59 60 61 |
# File 'lib/turbo_test_constant_tracer/klass.rb', line 59 def turbo_test_proxied_class __getobj__ end |