Class: VER::View::List::Syntax
- Inherits:
-
VER::View::List
- Object
- Struct
- VER::View::List
- VER::View::List::Syntax
- Defined in:
- lib/ver/view/list/syntax.rb
Instance Attribute Summary
Attributes inherited from VER::View::List
#callback, #entry, #frame, #list, #parent, #tag
Instance Method Summary collapse
Methods inherited from VER::View::List
#cancel, #completion, #destroy, #initialize, #line_down, #line_up, #message, #on_update, #pick, #pick_action, #pick_first, #pick_selection, #quit, #select_index, #setup_events, #setup_keymap, #setup_widgets, #sublist
Constructor Details
This class inherits a constructor from VER::View::List
Instance Method Details
#syntaxes ⇒ Object
7 8 9 10 11 |
# File 'lib/ver/view/list/syntax.rb', line 7 def syntaxes VER::Syntax.list.map do |fullpath| File.basename(fullpath, File.extname(fullpath)) end end |
#update ⇒ Object
3 4 5 |
# File 'lib/ver/view/list/syntax.rb', line 3 def update list.value = sublist(syntaxes) end |