Class: Appsignal::Config::ConfigDSL Private

Inherits:
Object
  • Object
show all
Defined in:
lib/appsignal/config.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ ConfigDSL

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of ConfigDSL.



560
561
562
563
# File 'lib/appsignal/config.rb', line 560

def initialize(config)
  @config = config
  @dsl_options = {}
end

Instance Attribute Details

#dsl_optionsObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



558
559
560
# File 'lib/appsignal/config.rb', line 558

def dsl_options
  @dsl_options
end

Instance Method Details

#app_pathObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



565
566
567
# File 'lib/appsignal/config.rb', line 565

def app_path
  @config.root_path
end

#envObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



569
570
571
# File 'lib/appsignal/config.rb', line 569

def env
  @config.env
end