method
pop_entry
v7.2.3 -
Show latest stable
- Class:
RailInspector::Changelog::Parser
pop_entry()private
No documentation available.
# File tools/rail_inspector/lib/rail_inspector/changelog.rb, line 184
def pop_entry
# Ensure we don't pop an entry if we only see newlines and the footer
return unless @lines.any? { |line| line.match?(/\S/) }
@entries << Changelog::Entry.new(@lines, @current_line - @lines.length)
@lines = []
end