Class: Canopus::Command::Definition
- Inherits:
-
Data
- Object
- Data
- Canopus::Command::Definition
- Defined in:
- lib/canopus/command.rb,
sig/command.rbs
Instance Attribute Summary collapse
-
#category ⇒ Object
readonly
Returns the value of attribute category.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#keybinding ⇒ Object
readonly
Returns the value of attribute keybinding.
-
#run ⇒ Object
readonly
Returns the value of attribute run.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#when ⇒ Object
readonly
Returns the value of attribute when.
Class Method Summary collapse
Instance Attribute Details
#category ⇒ Object (readonly)
Returns the value of attribute category
5 6 7 |
# File 'lib/canopus/command.rb', line 5 def category @category end |
#id ⇒ Object (readonly)
Returns the value of attribute id
5 6 7 |
# File 'lib/canopus/command.rb', line 5 def id @id end |
#keybinding ⇒ Object (readonly)
Returns the value of attribute keybinding
5 6 7 |
# File 'lib/canopus/command.rb', line 5 def keybinding @keybinding end |
#run ⇒ Object (readonly)
Returns the value of attribute run
5 6 7 |
# File 'lib/canopus/command.rb', line 5 def run @run end |
#title ⇒ Object (readonly)
Returns the value of attribute title
5 6 7 |
# File 'lib/canopus/command.rb', line 5 def title @title end |
#when ⇒ Object (readonly)
Returns the value of attribute when
5 6 7 |
# File 'lib/canopus/command.rb', line 5 def when @when end |
Class Method Details
.new ⇒ instance
15 |
# File 'sig/command.rbs', line 15
def self.new: (String id, String title, String category, String when, ^(*untyped) -> untyped run, keybinding keybinding) -> instance
|