"Fossies" - the Fresh Open Source Software Archive

Member "ruby-2.6.5/spec/ruby/core/thread/backtrace/location/fixtures/absolute_path_method_added.rb" (1 Oct 2019, 180 Bytes) of package /linux/misc/ruby-2.6.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 module ThreadBacktraceLocationSpecs
    2   class MethodAddedAbsolutePath
    3     def self.method_added(name)
    4       ScratchPad.record caller_locations
    5     end
    6 
    7     def foo
    8     end
    9   end
   10 end