Class: VersionManager::Configuration
- Inherits:
-
Object
- Object
- VersionManager::Configuration
- Defined in:
- lib/version_manager/configuration.rb
Instance Attribute Summary collapse
-
#history_file ⇒ Object
Returns the value of attribute history_file.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#tag_format ⇒ Object
Returns the value of attribute tag_format.
-
#version_constant ⇒ Object
Returns the value of attribute version_constant.
-
#version_file ⇒ Object
Returns the value of attribute version_file.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_file ⇒ Object
Returns the value of attribute history_file.
5 6 7 |
# File 'lib/version_manager/configuration.rb', line 5 def history_file @history_file end |
#logger ⇒ Object
Returns the value of attribute logger.
5 6 7 |
# File 'lib/version_manager/configuration.rb', line 5 def logger @logger end |
#tag_format ⇒ Object
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_constant ⇒ Object
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_file ⇒ Object
Returns the value of attribute version_file.
5 6 7 |
# File 'lib/version_manager/configuration.rb', line 5 def version_file @version_file end |