class AppInsights::SinatraInstaller

Public Class Methods

init(root, filename = nil) click to toggle source
# File lib/appinsights/installers/sinatra.rb, line 9
def self.init(root, filename = nil)
  installer = AppInsights::BaseInstaller.new Sinatra::Application,
                                             root,
                                             filename

  installer.install
end
root() click to toggle source
# File lib/appinsights/installers/sinatra.rb, line 5
def self.root
  File.dirname app_file
end