Class: VersionManager::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
11
12
13
# File 'lib/version_manager/configuration.rb', line 7

def initialize
  @logger = unformatter_logger
  @history_file = "history.rdoc"
  @tag_format = "v%s"
  @version_file = "lib/version.rb"
  @version_constant = "VERSION"
end

Instance Attribute Details

#history_fileObject

Returns the value of attribute history_file.



5
6
7
# File 'lib/version_manager/configuration.rb', line 5

def history_file
  @history_file
end

#loggerObject

Returns the value of attribute logger.



5
6
7
# File 'lib/version_manager/configuration.rb', line 5

def logger
  @logger
end

#tag_formatObject

Returns the value of attribute tag_format.



5
6
7
# File 'lib/version_manager/configuration.rb', line 5

def tag_format
  @tag_format
end

#version_constantObject

Returns the value of attribute version_constant.



5
6
7
# File 'lib/version_manager/configuration.rb', line 5

def version_constant
  @version_constant
end

#version_fileObject

Returns the value of attribute version_file.



5
6
7
# File 'lib/version_manager/configuration.rb', line 5

def version_file
  @version_file
end