class AmberCLI::Native::CapabilityManifest::ShortcutsCapability

Included Modules

Defined in:

amber_cli/native/capability_manifest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(enabled : Bool = true, shortcuts : Array(AppShortcutSpec) = [] of AppShortcutSpec) #

[View source]
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def enabled : Bool #

[View source]
def enabled=(enabled : Bool) #

[View source]
def shortcuts : Array(AppShortcutSpec) #

[View source]
def shortcuts=(shortcuts : Array(AppShortcutSpec)) #

[View source]
def validate! : self #

[View source]