class Logchange::Configuration

Store configuration for this gem.

Attributes

changelog_directory[RW]
root_path[RW]

Public Class Methods

new() click to toggle source
# File lib/logchange/configuration.rb, line 7
def initialize
  @changelog_directory = 'changelog'
  @root_path = Dir.pwd
end

Public Instance Methods

changelog_directory_path() click to toggle source
# File lib/logchange/configuration.rb, line 12
def changelog_directory_path
  File.join(@root_path, @changelog_directory)
end