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