Module: Glark::SkipOption

Included in:
SkipDirNameOption, SkipDirPathOption, SkipExtOption, SkipNameOption, SkipPathOption
Defined in:
lib/glark/input/filter/options.rb

Instance Method Summary collapse

Instance Method Details

#posnegObject



60
61
62
# File 'lib/glark/input/filter/options.rb', line 60

def posneg
  :negative
end

#rcfieldObject



56
57
58
# File 'lib/glark/input/filter/options.rb', line 56

def rcfield
  'skip-' + field.to_s
end

#tagsObject



52
53
54
# File 'lib/glark/input/filter/options.rb', line 52

def tags
  %w{ not skip }.collect { |x| '--' + x + '-' + field.to_s }
end