struct CB::QueryMenu::Category

Overview

Category for a query, this is used for grouping and order queries in the query menu.

Defined in:

cb/query_menu/query.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String = "", order : Int8 = -1) #

[View source]

Instance Method Detail

def name : String #

The name of the category.


[View source]
def order : Int8 #

The order that the category appears in the query menu.


[View source]