struct

Crysda::ColNames

Inherits Struct / Value / Object

Struct which is passed to block and provide helpful methods which can be invoked to perform filtering

Constructors

new(names : Array(String))
Source

Instance methods

=~(regex : String)
Source
=~(regex : Regex)
Source
[](from : String, to : String)
Source
[](range : Range(String | Nil, String | Nil))
Source
ends_with?(prefix : String)
Source
except(cols : Array(String))
Source
except(*cols : String)

normally, there should be no need for them. We just do positive selection and either use reject or select. BUT: verbs like gather still need to support negative selection Performs a negative selection by selecting all columns except the listed ones.

Source
except
Source
list_of(col_names : Array(String))
Source
list_of(*col_names : String)
Source
matches(regex : String)
Source
matches(regex : Regex)
Source
names
Source
starts_with?(prefix : String)
Source