struct

Hyoki::CLI::Config

Inherits Struct < Value < Object

Constructors

new(report_type : Document::ReportType, report_format : Document::ReportFormat, highlight : Highlight, excerpt_context_length : Int32 | Tuple(Int32, Int32), sort_order : Document::SortOrder, exclude_ascii_only_items : Bool, pager : String | Nil, mecab_dict_dir : String | Nil, show_help : Bool, show_version : Bool)
Source

Instance methods

clone
Source
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, exclude_ascii_only_items _exclude_ascii_only_items = @exclude_ascii_only_items, pager _pager = @pager, mecab_dict_dir _mecab_dict_dir = @mecab_dict_dir, show_help _show_help = @show_help, show_version _show_version = @show_version)
Source
excerpt_context_length
excerpt_context_length=(excerpt_context_length : Int32 | Tuple(Int32, Int32))
Source
exclude_ascii_only_items
exclude_ascii_only_items=(exclude_ascii_only_items : Bool)
Source
highlight
highlight=(highlight : Hyoki::CLI::Highlight)
Source
mecab_dict_dir
mecab_dict_dir=(mecab_dict_dir : Nil | String)
Source
pager
pager=(pager : Nil | String)
Source
report_format
report_format=(report_format : Hyoki::Document::ReportFormat)
Source
report_type
report_type=(report_type : Hyoki::Document::ReportType)
Source
show_help
show_help=(show_help : Bool)
Source
show_version
show_version=(show_version : Bool)
Source
sort_order
sort_order=(sort_order : Hyoki::Document::SortOrder)
Source