Top Level Namespace

Defined Under Namespace

Modules: TemplateStreaming

Class Method Summary collapse

Class Method Details

.expand_load_path_entry(path) ⇒ Object

Load parts of the agent we need to hack.



65
66
67
68
69
70
71
# File 'lib/template_streaming/new_relic.rb', line 65

def self.expand_load_path_entry(path)
  $:.each do |dir|
    absolute_path = File.join(dir, path)
    return absolute_path if File.exist?(absolute_path)
  end
  nil
end