lib/cuketagger/tagger.rb
# The expected format of a cuketagger command
The expected format of a cuketagger command
The expected format of a cuketagger command
def thing_to_tag?(thing)
      features_to_change.any? do |name, line_number|
        name_match   = (name == thing.get_ancestor(:feature_file).path)
        number_match = (thing.source_line == line_number)
        (name_match && number_match) || (name_match && thing.is_a?(CukeModeler::Feature) && line_number.nil?)
      end
    end
def thing_to_tag? ( thing ) features_to_change . any? do | name , line_number | name_match = ( name == thing . get_ancestor ( :feature_file ) . path ) number_match = ( thing . source_line == line_number ) ( name_match && number_match ) || ( name_match && thing . is_a? ( CukeModeler :: Feature ) && line_number . nil? ) end end
The expected format of a cuketagger command
The expected format of a cuketagger command
# TODO: pass in file name as well for performance?
thing
<not_specific>