Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
CB::Role
Inherits
Struct
/
Value
/
Object
Constants
VALID_CLUSTER_ROLES =
Set
{"application", "postgres", "user"}
Constructors
new
(name :
String
= "user")
Source
Instance methods
==
(other :
String
)
Source
name
Source
to_s
(io :
IO
)
Same as
#inspect(io)
.
Source
valid?
Source