Class: AppVersionTasks::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/app_version_tasks/configuration.rb

Overview

Configuration parameters

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject

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_directoryObject

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_pathObject

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