Class: StructuredChangelog::ReleaseFilters::MatchesAllVersions

Inherits:
Base
  • Object
show all
Defined in:
lib/structured_changelog/release_filters/matches_all_versions.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

appropriate_for_query?, #initialize

Constructor Details

This class inherits a constructor from StructuredChangelog::ReleaseFilters::Base

Class Method Details

.patternObject



6
7
8
# File 'lib/structured_changelog/release_filters/matches_all_versions.rb', line 6

def self.pattern
  /^all$/
end

Instance Method Details

#filter_releases(releases) ⇒ Object



10
11
12
# File 'lib/structured_changelog/release_filters/matches_all_versions.rb', line 10

def filter_releases(releases)
  releases
end