Sha256: 2d8cf23db54e9f975f3ae7e372601afae0fc16d6fd875aa3bbab889967e8bcf6

Contents?: true

Size: 1.58 KB

Versions: 6

Compression:

Stored size: 1.58 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,
                        :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,
                 false,
                 nil,
                 false,
                 false,
                 false,
                 -1,
                 [],
                 -1)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
milkode-1.3.0 lib/milkode/grep/findgrep_option.rb
milkode-1.2.0 lib/milkode/grep/findgrep_option.rb
milkode-1.1.0 lib/milkode/grep/findgrep_option.rb
milkode-1.0.2 lib/milkode/grep/findgrep_option.rb
milkode-1.0.0 lib/milkode/grep/findgrep_option.rb
milkode-0.9.9.9 lib/milkode/grep/findgrep_option.rb