Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
EncoderSpec
Inherits
Struct
<
Value
<
Object
Single specification for an encoder / transformer.
Constructors
new
(primary :
String
, names :
Array
(
String
), description :
String
, category :
String
= "other", flags :
Array
(
String
) = [] of
String
, &block :
String
->
String
)
Source
Instance methods
alias_list
Source
apply
(input :
String
) :
String
Source
category
Source
description
Source
flags
Source
names
Source
primary
Source
proc
Source
to_json
(json :
JSON::Builder
)
Source