abstract class CB::Action
- CB::Action
- Reference
- Object
Overview
Action is the base class for all actions performed by cb
.
Direct Known Subclasses
Defined in:
cb/action.crConstant Summary
-
Error =
Program::Error
-
Log =
::Log.for("Action")
Constructors
Macro Summary
-
bool_setter(property)
Note: unlike the other macros, this one does not create a nilable boolean, and instead creates one that defaults to false
-
bool_setter?(property)
Nilable boolean setter.
- cluster_identifier_setter(property)
- eid_setter(property, description = nil)
- format_setter(property)
- format_setter?(property)
- i32_setter(property)
-
ident_setter(property)
For simple identifiers such as region names, or plan names where we expect only lowercase, numbers, and -
- identifier_setter(property)
-
name_setter(property)
Non-nilable name setter.
-
name_setter?(property)
Nilable name setter.
- role_setter(property)
- role_setter?(property)
- time_setter(property)
Instance Method Summary
Constructor Detail
Macro Detail
macro bool_setter(property)
#
Note: unlike the other macros, this one does not create a nilable boolean, and instead creates one that defaults to false
macro bool_setter?(property)
#
Nilable boolean setter. This is useful for fields where nil can have a meaningful value beyond being falesy.
macro ident_setter(property)
#
For simple identifiers such as region names, or plan names where we expect only lowercase, numbers, and -