class String::Inquirer
- String::Inquirer
- Reference
- Object
Overview
Wraps a string for easier equality tests.
inquirer = String::Inquirer.new("test")
inquirer.test? #=> true
inquirer.foo? #=> false
Defined in:
string-inquirer/version.crstring/inquirer.cr
Constant Summary
-
VERSION =
"0.1.0"
Constructors
-
.new(wrapped : String)
Wraps the provided string
Macro Summary
-
method_missing(call)
Inspects the provided call name and raises if the call name does not finish in '?'.
Constructor Detail
Macro Detail
macro method_missing(call)
#
Inspects the provided call name and raises if the call name does not finish in '?'.