Sha256: 8e4703a67001f1154c70b886a097d401da347930e8cc9b830f337ade19e05c0b
Contents?: true
Size: 523 Bytes
Versions: 64
Compression:
Stored size: 523 Bytes
Contents
require_relative 'base_conditions_filter' module Gitlab module Triage module Filters class NameConditionsFilter < BaseConditionsFilter def initialize_variables(matching_name) @attribute = :name @matching_name = matching_name end def resource_value @resource[@attribute] end def condition_value @matching_name end def calculate resource_value == condition_value end end end end end
Version data entries
64 entries across 64 versions & 2 rubygems