Class: Appsignal::Config::ConfigDSL Private
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
- #dsl_options ⇒ Object readonly private
Instance Method Summary collapse
- #app_path ⇒ Object private
- #env ⇒ Object private
-
#initialize(config) ⇒ ConfigDSL
constructor
private
A new instance of ConfigDSL.
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.
540 541 542 543 |
# File 'lib/appsignal/config.rb', line 540 def initialize(config) @config = config @dsl_options = {} end |
Instance Attribute Details
#dsl_options ⇒ Object (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.
538 539 540 |
# File 'lib/appsignal/config.rb', line 538 def @dsl_options end |
Instance Method Details
#app_path ⇒ Object
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.
545 546 547 |
# File 'lib/appsignal/config.rb', line 545 def app_path @config.root_path end |
#env ⇒ Object
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.
549 550 551 |
# File 'lib/appsignal/config.rb', line 549 def env @config.env end |