Sha256: 9ca0b029db02ce04df8aaae6a06c2b03a19bbda8fbf0def7934cccb2968bfdbd

Contents?: true

Size: 1.65 KB

Versions: 4

Compression:

Stored size: 1.65 KB

Contents

# -*- coding: utf-8 -*-
#
# @file 
# @brief
# @author ongaeshi
# @date   2013/05/03

module Milkode
  class FindGrepOption
    Option = Struct.new(:patternsNot,
                        :patternsOr,
                        :directory,
                        :depth,
                        :ignoreCase,
                        :caseSensitive,
                        :colorHighlight,
                        :isSilent,
                        :debugMode,
                        :packages,
                        :strict_packages,
                        :filePatterns,
                        :suffixs,
                        :ignoreFiles,
                        :ignoreDirs,
                        :kcode,
                        :output_kcode,
                        :noSnip,
                        :dbFile,
                        :groongaOnly,
                        :isMatchFile,
                        :dispHtml,
                        :matchCountLimit,
                        :keywords,
                        :gotoline)

    def self.create_default
      Option.new([],
                 [],
                 ".",
                 -1,
                 false,
                 false,
                 false,
                 false,
                 false,
                 [],
                 [],
                 [],
                 [],
                 [],
                 [],
                 Kconv::UTF8, # Platform.get_shell_kcode,
                 Kconv::UTF8,
                 false,
                 nil,
                 false,
                 false,
                 false,
                 -1,
                 [],
                 -1)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
milkode-1.6.1 lib/milkode/grep/findgrep_option.rb
milkode-1.6.0 lib/milkode/grep/findgrep_option.rb
milkode-1.5.0 lib/milkode/grep/findgrep_option.rb
milkode-1.4.0 lib/milkode/grep/findgrep_option.rb