class
AmberCLI::Native::CapabilityManifest::AppShortcutParameterSpec
Included Modules
- YAML::Serializable
- YAML::Serializable::Strict
Defined in:
amber_cli/native/capability_manifest.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(name : String = "", prompt : String | Nil = nil, type : String | Nil = nil, default_value : String | Nil = nil, is_required : Bool = true)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance Method Summary
- #default_value : String | Nil
- #default_value=(default_value : String | Nil)
- #is_required : Bool
- #is_required=(is_required : Bool)
- #name : String
- #name=(name : String)
- #prompt : String | Nil
- #prompt=(prompt : String | Nil)
- #type : String | Nil
- #type=(type : String | Nil)
- #validate! : self
Constructor Detail
def self.new(name : String = "", prompt : String | Nil = nil, type : String | Nil = nil, default_value : String | Nil = nil, is_required : Bool = true)
#
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
#