struct Hyoki::CLI::Config

Defined in:

hyoki.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(report_type : Document::ReportType, report_format : Document::ReportFormat, highlight : Highlight, excerpt_context_length : Int32 | Tuple(Int32, Int32), sort_order : Document::SortOrder, include_ascii : Bool, mecab_dict_dir : String | Nil, show_help : Bool, show_version : Bool) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(report_type _report_type = @report_type, report_format _report_format = @report_format, highlight _highlight = @highlight, excerpt_context_length _excerpt_context_length = @excerpt_context_length, sort_order _sort_order = @sort_order, include_ascii _include_ascii = @include_ascii, mecab_dict_dir _mecab_dict_dir = @mecab_dict_dir, show_help _show_help = @show_help, show_version _show_version = @show_version) #

[View source]
def excerpt_context_length : Int32 | Tuple(Int32, Int32) #

def excerpt_context_length=(excerpt_context_length : Int32 | Tuple(Int32, Int32)) #

[View source]
def highlight : Highlight #

def highlight=(highlight : Hyoki::CLI::Highlight) #

[View source]
def include_ascii : Bool #

def include_ascii=(include_ascii : Bool) #

[View source]
def mecab_dict_dir : String | Nil #

def mecab_dict_dir=(mecab_dict_dir : Nil | String) #

[View source]
def report_format : Document::ReportFormat #

def report_format=(report_format : Hyoki::Document::ReportFormat) #

[View source]
def report_type : Document::ReportType #

def report_type=(report_type : Hyoki::Document::ReportType) #

[View source]
def show_help : Bool #

def show_help=(show_help : Bool) #

[View source]
def show_version : Bool #

def show_version=(show_version : Bool) #

[View source]
def sort_order : Document::SortOrder #

def sort_order=(sort_order : Hyoki::Document::SortOrder) #

[View source]