Class: AppVersionTasks::Configuration
- Inherits:
-
Object
- Object
- AppVersionTasks::Configuration
- Defined in:
- lib/app_version_tasks/configuration.rb
Overview
Configuration parameters
Instance Attribute Summary collapse
-
#application_name ⇒ Object
Returns the value of attribute application_name.
-
#git_working_directory ⇒ Object
Returns the value of attribute git_working_directory.
-
#version_file_path ⇒ Object
Returns the value of attribute version_file_path.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(opts = {}) ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 13 |
# File 'lib/app_version_tasks/configuration.rb', line 9 def initialize(opts = {}) self.application_name = opts[:application_name] self.git_working_directory = opts[:git_working_directory] self.version_file_path = opts[:version_file_path] end |
Instance Attribute Details
#application_name ⇒ Object
Returns the value of attribute application_name.
5 6 7 |
# File 'lib/app_version_tasks/configuration.rb', line 5 def application_name @application_name end |
#git_working_directory ⇒ Object
Returns the value of attribute git_working_directory.
7 8 9 |
# File 'lib/app_version_tasks/configuration.rb', line 7 def git_working_directory @git_working_directory end |
#version_file_path ⇒ Object
Returns the value of attribute version_file_path.
6 7 8 |
# File 'lib/app_version_tasks/configuration.rb', line 6 def version_file_path @version_file_path end |