ParserFile: Drop unused public method
This commit is contained in:
parent
93df2d5646
commit
15d92cea45
|
@ -16,14 +16,11 @@ module GitHubChangelogGenerator
|
|||
end
|
||||
|
||||
def read_default_file
|
||||
path = Pathname(File.expand_path(FILENAME))
|
||||
File.open(path) if path.exist?
|
||||
end
|
||||
|
||||
def path
|
||||
@path ||= Pathname(File.expand_path(FILENAME))
|
||||
end
|
||||
|
||||
# Destructively change @options using data in configured options file.
|
||||
# Set @options using configuration file lines.
|
||||
def parse!
|
||||
return unless file
|
||||
file.each_line { |line| parse_line!(line) }
|
||||
|
|
Loading…
Reference in New Issue
Block a user