Class: VER::Executor::ExCommandTYARD
- Inherits:
-
Entry
- Object
- Entry
- VER::Executor::ExCommandTYARD
- Defined in:
- lib/command_t/ex/command_t_yard.rb
Constant Summary collapse
- Registry =
::YARD::Registry
Instance Method Summary collapse
Instance Method Details
#action(selected) ⇒ Object
11 12 13 14 15 |
# File 'lib/command_t/ex/command_t_yard.rb', line 11 def action(selected) obj = Registry.path_hash[selected] or throw :invalid VER.find_or_create_buffer(obj.file, obj.line) callback.destroy(false) end |
#choices(text) ⇒ Object
3 4 5 |
# File 'lib/command_t/ex/command_t_yard.rb', line 3 def choices(text) @matcher.sorted_matches_for(text, {}) end |