Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
flag_parser
v0.1.2
FlagParser
Flag
Callback
Rule
FlagSubParser
Upvalue
Built with Crystal 1.9.2
2023-10-08 13:07:54 UTC
struct
FlagParser::Flag
FlagParser::Flag
Struct
Value
Object
Overview
TODO
rename, this is not 'arg' but 'Flag'
Defined in:
flag_parser.cr
Constructors
.new
(&callback : Callback)
Instance Method Summary
#execute
(args)
#match?
(args)
#parts
: Array(String | Regex)
#size
Constructor Detail
def self.
new
(&callback :
Callback
)
#
[
View source
]
Instance Method Detail
def
execute
(args)
#
[
View source
]
def
match?
(args)
#
[
View source
]
def
parts
: Array(String | Regex)
#
[
View source
]
def
size
#
[
View source
]