Module: RBS::Dynamic::Tracer

Defined in:
lib/rbs/dynamic/tracer.rb,
lib/rbs/dynamic/tracer/called_method.rb

Defined Under Namespace

Classes: CalledMethod

Class Method Summary collapse

Class Method Details

.trace(**opt, &block) ⇒ Object



7
8
9
# File 'lib/rbs/dynamic/tracer.rb', line 7

def self.trace(**opt, &block)
  CalledMethod.new(**opt).enable(&block)[:called_methods].first[:called_methods]
end