vedeu 0.4.56 → 0.4.57

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/examples/borders_app.rb +22 -24
  3. data/examples/colours_app.rb +4 -6
  4. data/examples/configuration_app.rb +5 -7
  5. data/examples/drb_app.rb +1 -1
  6. data/examples/focus_app.rb +1 -1
  7. data/examples/geometry_app.rb +8 -10
  8. data/examples/hello_world.rb +4 -6
  9. data/examples/material_colours_app.rb +19 -9
  10. data/examples/material_colours_app_20150721.svg +2285 -0
  11. data/examples/panel_app.rb +6 -8
  12. data/examples/typed_commands/typed_commands_app.rb +15 -17
  13. data/examples/view_templates_app/view_templates_app.rb +1 -1
  14. data/lib/vedeu/all.rb +82 -10
  15. data/lib/vedeu/api.rb +34 -14
  16. data/lib/vedeu/application.rb +0 -1
  17. data/lib/vedeu/application/application_controller.rb +0 -1
  18. data/lib/vedeu/application/application_helper.rb +0 -1
  19. data/lib/vedeu/application/application_view.rb +0 -1
  20. data/lib/vedeu/application/controller.rb +0 -1
  21. data/lib/vedeu/application/helper.rb +0 -1
  22. data/lib/vedeu/application/view.rb +0 -1
  23. data/lib/vedeu/bindings/all.rb +0 -1
  24. data/lib/vedeu/bindings/visibility.rb +2 -19
  25. data/lib/vedeu/buffers/buffer.rb +0 -1
  26. data/lib/vedeu/buffers/display_buffer.rb +0 -1
  27. data/lib/vedeu/cli/generator/application.rb +0 -1
  28. data/lib/vedeu/cli/generator/helpers.rb +0 -1
  29. data/lib/vedeu/cli/generator/view.rb +0 -1
  30. data/lib/vedeu/colours/background.rb +0 -1
  31. data/lib/vedeu/colours/colour.rb +0 -1
  32. data/lib/vedeu/colours/colour_translator.rb +0 -1
  33. data/lib/vedeu/colours/foreground.rb +0 -1
  34. data/lib/vedeu/common.rb +0 -1
  35. data/lib/vedeu/configuration/configuration.rb +0 -1
  36. data/lib/vedeu/cursor/cursor.rb +0 -1
  37. data/lib/vedeu/cursor/move.rb +0 -1
  38. data/lib/vedeu/cursor/refresh_cursor.rb +0 -1
  39. data/lib/vedeu/cursor/reposition.rb +0 -1
  40. data/lib/vedeu/distributed/client.rb +2 -0
  41. data/lib/vedeu/distributed/server.rb +2 -0
  42. data/lib/vedeu/distributed/uri.rb +2 -1
  43. data/lib/vedeu/exceptions.rb +0 -7
  44. data/lib/vedeu/geometry/area.rb +0 -1
  45. data/lib/vedeu/geometry/coordinate.rb +0 -1
  46. data/lib/vedeu/geometry/dimension.rb +14 -1
  47. data/lib/vedeu/geometry/geometry.rb +0 -1
  48. data/lib/vedeu/geometry/index_position.rb +0 -1
  49. data/lib/vedeu/geometry/position.rb +0 -1
  50. data/lib/vedeu/geometry/position_index.rb +0 -1
  51. data/lib/vedeu/geometry/position_validator.rb +0 -1
  52. data/lib/vedeu/input/input.rb +0 -1
  53. data/lib/vedeu/input/key.rb +0 -1
  54. data/lib/vedeu/input/keymap.rb +0 -1
  55. data/lib/vedeu/input/mapper.rb +0 -1
  56. data/lib/vedeu/log.rb +0 -1
  57. data/lib/vedeu/main_loop.rb +0 -1
  58. data/lib/vedeu/models/cell.rb +0 -1
  59. data/lib/vedeu/models/char.rb +0 -1
  60. data/lib/vedeu/models/composition.rb +0 -1
  61. data/lib/vedeu/models/escape.rb +0 -1
  62. data/lib/vedeu/models/focus.rb +0 -1
  63. data/lib/vedeu/models/group.rb +37 -15
  64. data/lib/vedeu/models/interface.rb +1 -2
  65. data/lib/vedeu/models/line.rb +0 -1
  66. data/lib/vedeu/models/menu.rb +0 -1
  67. data/lib/vedeu/models/stream.rb +0 -1
  68. data/lib/vedeu/models/toggleable.rb +21 -11
  69. data/lib/vedeu/null/all.rb +0 -1
  70. data/lib/vedeu/null/border.rb +0 -1
  71. data/lib/vedeu/null/buffer.rb +0 -1
  72. data/lib/vedeu/null/generic.rb +0 -1
  73. data/lib/vedeu/null/geometry.rb +0 -1
  74. data/lib/vedeu/null/interface.rb +0 -1
  75. data/lib/vedeu/output/border.rb +0 -1
  76. data/lib/vedeu/output/clear/named_group.rb +3 -2
  77. data/lib/vedeu/output/clear/named_interface.rb +2 -1
  78. data/lib/vedeu/output/compressor.rb +0 -1
  79. data/lib/vedeu/output/html_char.rb +0 -1
  80. data/lib/vedeu/output/output.rb +0 -1
  81. data/lib/vedeu/output/presentation.rb +0 -1
  82. data/lib/vedeu/output/refresh_group.rb +0 -1
  83. data/lib/vedeu/output/render_border.rb +0 -1
  84. data/lib/vedeu/output/renderers/all.rb +0 -1
  85. data/lib/vedeu/output/renderers/escape_sequence.rb +0 -1
  86. data/lib/vedeu/output/renderers/file.rb +0 -1
  87. data/lib/vedeu/output/renderers/html.rb +0 -1
  88. data/lib/vedeu/output/renderers/json.rb +0 -1
  89. data/lib/vedeu/output/renderers/null.rb +0 -1
  90. data/lib/vedeu/output/renderers/renderer_options.rb +0 -1
  91. data/lib/vedeu/output/renderers/terminal.rb +0 -1
  92. data/lib/vedeu/output/renderers/text.rb +0 -1
  93. data/lib/vedeu/output/style.rb +0 -1
  94. data/lib/vedeu/output/text.rb +0 -1
  95. data/lib/vedeu/output/viewport.rb +0 -1
  96. data/lib/vedeu/output/virtual_terminal.rb +0 -1
  97. data/lib/vedeu/output/wordwrap.rb +0 -1
  98. data/lib/vedeu/repositories/collection.rb +0 -7
  99. data/lib/vedeu/repositories/model.rb +0 -1
  100. data/lib/vedeu/repositories/registerable.rb +0 -1
  101. data/lib/vedeu/repositories/repository.rb +0 -1
  102. data/lib/vedeu/repositories/store.rb +0 -1
  103. data/lib/vedeu/templating/directive.rb +1 -1
  104. data/lib/vedeu/templating/helpers.rb +1 -1
  105. data/lib/vedeu/templating/preprocessor.rb +1 -1
  106. data/lib/vedeu/templating/template.rb +1 -1
  107. data/lib/vedeu/traps.rb +0 -1
  108. data/lib/vedeu/version.rb +1 -1
  109. data/test/lib/vedeu/application/controller_test.rb +8 -1
  110. data/test/lib/vedeu/buffers/buffer_test.rb +5 -0
  111. data/test/lib/vedeu/cursor/reposition_test.rb +5 -5
  112. data/test/lib/vedeu/models/group_test.rb +4 -3
  113. data/test/lib/vedeu/models/interface_test.rb +15 -1
  114. data/test/lib/vedeu/null/interface_test.rb +7 -21
  115. data/test/lib/vedeu/output/esc_test.rb +105 -109
  116. metadata +3 -15
  117. data/lib/vedeu/application/all.rb +0 -6
  118. data/lib/vedeu/buffers/all.rb +0 -3
  119. data/lib/vedeu/cli/all.rb +0 -1
  120. data/lib/vedeu/colours/all.rb +0 -7
  121. data/lib/vedeu/configuration/all.rb +0 -3
  122. data/lib/vedeu/cursor/all.rb +0 -7
  123. data/lib/vedeu/distributed/all.rb +0 -15
  124. data/lib/vedeu/events/all.rb +0 -5
  125. data/lib/vedeu/geometry/all.rb +0 -14
  126. data/lib/vedeu/models/all.rb +0 -16
  127. data/lib/vedeu/output/all.rb +0 -21
  128. data/lib/vedeu/output/clear/all.rb +0 -13
  129. data/lib/vedeu/templating/all.rb +0 -13
@@ -14,18 +14,16 @@ require 'vedeu'
14
14
  #
15
15
  class VedeuPanelApp
16
16
 
17
- include Vedeu
18
-
19
17
  # Be aware that running an application with debugging enabled will affect
20
18
  # performance.
21
- configure do
19
+ Vedeu.configure do
22
20
  # debug!
23
21
  log '/tmp/vedeu_panel_app.log'
24
22
  # renderers Vedeu::Renderers::File.new
25
23
  end
26
24
 
27
25
  # line { centre 'Blue', width: 20, background: '#2196f3' }
28
- interface 'main_interface' do
26
+ Vedeu.interface 'main_interface' do
29
27
  border 'main_interface' do
30
28
  colour foreground: '#000000', background: '#cddc39' # lime
31
29
  title 'Panel: Yes/No'
@@ -39,7 +37,7 @@ class VedeuPanelApp
39
37
  end
40
38
  end
41
39
 
42
- keymap('_global_') do
40
+ Vedeu.keymap('_global_') do
43
41
  key(:up) { Vedeu.trigger(:_cursor_up_) }
44
42
  key(:right) { Vedeu.trigger(:_cursor_right_) }
45
43
  key(:down) { Vedeu.trigger(:_cursor_down_) }
@@ -51,7 +49,7 @@ class VedeuPanelApp
51
49
  key(:tab) { Vedeu.trigger(:_focus_next_) }
52
50
  end
53
51
 
54
- renders do
52
+ Vedeu.renders do
55
53
  view 'main_interface' do
56
54
  lines do
57
55
  line ' '
@@ -62,12 +60,12 @@ class VedeuPanelApp
62
60
  end
63
61
  end
64
62
 
65
- focus_by_name 'main_interface'
63
+ Vedeu.focus_by_name 'main_interface'
66
64
 
67
65
  def self.start(argv = ARGV)
68
66
  Vedeu::Launcher.execute!(argv)
69
67
  end
70
68
 
71
- end
69
+ end # VedeuPanelApp
72
70
 
73
71
  VedeuPanelApp.start(ARGV)
@@ -9,31 +9,29 @@ require 'vedeu'
9
9
  # the functionality of 'cooked' mode.
10
10
  class VedeuTypedCommands
11
11
 
12
- include Vedeu
13
-
14
- configure do
12
+ Vedeu.configure do
15
13
  debug!
16
14
  log '/tmp/vedeu_typed_commands_app.log'
17
15
  end
18
16
 
19
- bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
17
+ Vedeu.bind(:_initialize_) { Vedeu.trigger(:_refresh_) }
20
18
 
21
- interface 'output' do
19
+ Vedeu.interface 'output' do
22
20
  colour foreground: '#ff0000', background: '#000022'
23
21
  cursor!
24
22
  end
25
23
 
26
- interface 'status' do
24
+ Vedeu.interface 'status' do
27
25
  colour foreground: '#00ff00', background: '#003300'
28
26
  cursor!
29
27
  end
30
28
 
31
- interface 'command' do
29
+ Vedeu.interface 'command' do
32
30
  colour foreground: '#ffff00', background: '#111111'
33
31
  cursor!
34
32
  end
35
33
 
36
- keymap('_global_') do
34
+ Vedeu.keymap('_global_') do
37
35
  key(:up, 'k') { Vedeu.trigger(:_cursor_up_) }
38
36
  key(:right, 'l') { Vedeu.trigger(:_cursor_right_) }
39
37
  key(:down, 'j') { Vedeu.trigger(:_cursor_down_) }
@@ -45,43 +43,43 @@ class VedeuTypedCommands
45
43
  key(:tab) { Vedeu.trigger(:_focus_next_) }
46
44
  end
47
45
 
48
- border('output') do
46
+ Vedeu.border('output') do
49
47
  colour foreground: '#aadd00', background: '#000022'
50
48
  hide_bottom!
51
49
  end
52
- border('status') do
50
+ Vedeu.border('status') do
53
51
  colour foreground: '#aadd00', background: '#003300'
54
52
  hide_top!
55
53
  hide_bottom!
56
54
  end
57
- border('command') do
55
+ Vedeu.border('command') do
58
56
  colour foreground: '#aadd00', background: '#111111'
59
57
  hide_top!
60
58
  end
61
59
 
62
- geometry 'output' do
60
+ Vedeu.geometry 'output' do
63
61
  centred!
64
62
  height 7
65
63
  width 40
66
64
  end
67
65
 
68
- geometry('status') do
66
+ Vedeu.geometry('status') do
69
67
  height 1
70
68
  width 40
71
69
  x use('output').left
72
70
  y use('output').south(0)
73
71
  end
74
72
 
75
- geometry 'command' do
73
+ Vedeu.geometry 'command' do
76
74
  height 3
77
75
  width 40
78
76
  x use('status').left
79
77
  y use('status').south(0)
80
78
  end
81
79
 
82
- focus_by_name 'command'
80
+ Vedeu.focus_by_name 'command'
83
81
 
84
- renders do
82
+ Vedeu.renders do
85
83
  template_for('output', (File.dirname(__FILE__) + '/output.erb'), nil)
86
84
  template_for('status', (File.dirname(__FILE__) + '/status.erb'), nil)
87
85
  template_for('command', (File.dirname(__FILE__) + '/command.erb'), nil)
@@ -91,6 +89,6 @@ class VedeuTypedCommands
91
89
  Vedeu::Launcher.execute!(argv)
92
90
  end
93
91
 
94
- end
92
+ end # VedeuTypedCommands
95
93
 
96
94
  VedeuTypedCommands.start(ARGV)
@@ -92,6 +92,6 @@ class VedeuViewTemplateApp
92
92
  Vedeu::Launcher.execute!(argv)
93
93
  end
94
94
 
95
- end
95
+ end # VedeuViewTemplateApp
96
96
 
97
97
  VedeuViewTemplateApp.start(ARGV)
data/lib/vedeu/all.rb CHANGED
@@ -7,7 +7,22 @@ require 'vedeu/debug'
7
7
  require 'vedeu/traps'
8
8
 
9
9
  require 'vedeu/null/all'
10
- require 'vedeu/geometry/all'
10
+
11
+ require 'vedeu/geometry/area'
12
+ require 'vedeu/geometry/coordinate'
13
+ require 'vedeu/geometry/dimension'
14
+
15
+ require 'vedeu/geometry/geometry'
16
+ require 'vedeu/repositories/store'
17
+ require 'vedeu/repositories/registerable'
18
+ require 'vedeu/repositories/repository'
19
+ require 'vedeu/geometry/geometries'
20
+ require 'vedeu/geometry/grid'
21
+ require 'vedeu/geometry/index_position'
22
+ require 'vedeu/geometry/position_index'
23
+ require 'vedeu/geometry/position'
24
+ require 'vedeu/geometry/position_validator'
25
+
11
26
  require 'vedeu/repositories/all'
12
27
 
13
28
  require 'vedeu/api'
@@ -17,29 +32,86 @@ require 'vedeu/cli/generator/all'
17
32
 
18
33
  # load order has not been fully established beyond this point
19
34
 
20
- require 'vedeu/buffers/all'
21
- require 'vedeu/configuration/all'
22
- require 'vedeu/cursor/all'
23
- require 'vedeu/distributed/all'
35
+ require 'vedeu/buffers/buffers'
36
+ require 'vedeu/buffers/buffer'
37
+ require 'vedeu/buffers/display_buffer'
38
+
39
+ require 'vedeu/configuration/cli'
40
+ require 'vedeu/configuration/api'
41
+ require 'vedeu/configuration/configuration'
42
+
43
+ require 'vedeu/repositories/all'
44
+
45
+ require 'vedeu/cursor/cursor'
46
+ require 'vedeu/cursor/cursors'
47
+ require 'vedeu/cursor/move'
48
+ require 'vedeu/cursor/refresh_cursor'
49
+ require 'vedeu/cursor/reposition'
50
+
51
+ require 'vedeu/distributed/uri'
52
+ require 'vedeu/distributed/server'
53
+ require 'vedeu/distributed/client'
54
+ require 'vedeu/distributed/subprocess'
55
+ require 'vedeu/distributed/test_application'
24
56
 
25
57
  require 'vedeu/dsl/all'
26
58
 
27
- require 'vedeu/events/all'
59
+ require 'vedeu/repositories/collection'
60
+
61
+ require 'vedeu/events/events'
62
+ require 'vedeu/events/event'
63
+ require 'vedeu/events/trigger'
64
+
28
65
  require 'vedeu/input/all'
29
- require 'vedeu/output/all'
66
+
67
+ require 'vedeu/output/esc'
68
+ require 'vedeu/colours/colour_translator'
69
+ require 'vedeu/colours/background'
70
+ require 'vedeu/colours/foreground'
71
+ require 'vedeu/output/presentation'
72
+ require 'vedeu/output/borders'
73
+ require 'vedeu/output/border'
74
+ require 'vedeu/colours/colour'
75
+ require 'vedeu/output/compressor'
76
+
77
+ require 'vedeu/output/clear/named_group'
78
+ require 'vedeu/output/clear/named_interface'
79
+
80
+ require 'vedeu/output/style'
81
+ require 'vedeu/output/text'
82
+ require 'vedeu/output/virtual_buffer'
83
+ require 'vedeu/output/html_char'
84
+ require 'vedeu/output/refresh_group'
85
+ require 'vedeu/output/refresh'
86
+ require 'vedeu/output/renderers/all'
87
+ require 'vedeu/output/output'
88
+ require 'vedeu/output/viewport'
89
+ require 'vedeu/output/virtual_terminal'
90
+ require 'vedeu/output/wordwrap'
91
+
30
92
  require 'vedeu/common'
31
93
  require 'vedeu/log'
32
94
  require 'vedeu/common'
33
95
  require 'vedeu/terminal'
34
96
  require 'vedeu/timer'
35
- require 'vedeu/templating/all'
97
+
98
+ require 'vedeu/templating/helpers'
99
+ require 'vedeu/templating/directive'
100
+ require 'vedeu/templating/preprocessor'
101
+ require 'vedeu/templating/template'
36
102
 
37
103
  require 'vedeu/main_loop'
38
104
  require 'vedeu/application'
39
105
  require 'vedeu/launcher'
40
106
 
41
- require 'vedeu/application/all'
107
+ require 'vedeu/application/controller'
108
+ require 'vedeu/application/helper'
109
+ require 'vedeu/application/view'
110
+ require 'vedeu/application/application_controller'
111
+ require 'vedeu/application/application_helper'
112
+ require 'vedeu/application/application_view'
113
+
42
114
 
43
115
  require 'vedeu/bootstrap'
44
116
 
45
- require 'vedeu/cli/all'
117
+ require 'vedeu/cli/main'
data/lib/vedeu/api.rb CHANGED
@@ -1,4 +1,11 @@
1
- require 'vedeu/colours/all'
1
+ require 'vedeu/colours/colours'
2
+ require 'vedeu/colours/backgrounds'
3
+ require 'vedeu/colours/foregrounds'
4
+ require 'vedeu/colours/colour_translator'
5
+ require 'vedeu/colours/background'
6
+ require 'vedeu/colours/foreground'
7
+ require 'vedeu/colours/colour'
8
+
2
9
  require 'vedeu/buffers/buffers'
3
10
  require 'vedeu/output/borders'
4
11
  require 'vedeu/cursor/cursors'
@@ -6,12 +13,35 @@ require 'vedeu/common'
6
13
  require 'vedeu/terminal'
7
14
  require 'vedeu/timer'
8
15
  require 'vedeu/output/renderers/all'
9
- require 'vedeu/events/all'
10
- require 'vedeu/models/all'
16
+
17
+ require 'vedeu/repositories/collection'
18
+
19
+ require 'vedeu/events/events'
20
+ require 'vedeu/events/event'
21
+ require 'vedeu/events/trigger'
22
+
23
+ require 'vedeu/repositories/all'
24
+
25
+ require 'vedeu/models/toggleable'
26
+ require 'vedeu/models/cell'
27
+ require 'vedeu/models/char'
28
+ require 'vedeu/models/escape'
29
+ require 'vedeu/models/stream'
30
+ require 'vedeu/models/line'
31
+ require 'vedeu/models/interfaces'
32
+ require 'vedeu/models/interface'
33
+ require 'vedeu/models/composition'
34
+ require 'vedeu/models/focus'
35
+ require 'vedeu/models/groups'
36
+ require 'vedeu/models/group'
37
+ require 'vedeu/models/menus'
38
+ require 'vedeu/models/menu'
39
+
11
40
  require 'vedeu/input/all'
12
41
  require 'vedeu/dsl/all'
13
42
  require 'vedeu/application'
14
- require 'vedeu/output/clear/all'
43
+ require 'vedeu/output/clear/named_group'
44
+ require 'vedeu/output/clear/named_interface'
15
45
 
16
46
  module Vedeu
17
47
 
@@ -379,20 +409,10 @@ module Vedeu
379
409
  # @see Vedeu::Cursor#show
380
410
  def_delegators Vedeu::Cursor, :toggle_cursor
381
411
 
382
- # Hide the group with the given name.
383
- #
384
- # @example
385
- # Vedeu.hide_group(name)
386
- #
387
412
  # @!method hide_group
388
413
  # @see Vedeu::Group#hide
389
414
  def_delegators Vedeu::Group, :hide_group
390
415
 
391
- # Shows the group with the given name.
392
- #
393
- # @example
394
- # Vedeu.show_group(name)
395
- #
396
416
  # @!method show_group
397
417
  # @see Vedeu::Group#show
398
418
  def_delegators Vedeu::Group, :show_group
@@ -2,7 +2,6 @@ module Vedeu
2
2
 
3
3
  # Orchestrates the running of the main application loop.
4
4
  #
5
- # @api private
6
5
  class Application
7
6
 
8
7
  class << self
@@ -6,7 +6,6 @@ module Vedeu
6
6
  # controllers. The client application's ApplicationController will inherit
7
7
  # from this class.
8
8
  #
9
- # @api private
10
9
  class ApplicationController
11
10
 
12
11
  include Vedeu::Controller
@@ -6,7 +6,6 @@ module Vedeu
6
6
  # helpers. The client application's ApplicationHelper will include this
7
7
  # module.
8
8
  #
9
- # @api private
10
9
  module ApplicationHelper
11
10
 
12
11
  include Vedeu::Helper
@@ -5,7 +5,6 @@ module Vedeu
5
5
  # Provides the mechanism to render views for the client application. The
6
6
  # client application's ApplicationView will inherit from this class.
7
7
  #
8
- # @api private
9
8
  class ApplicationView
10
9
 
11
10
  include Vedeu::View
@@ -2,7 +2,6 @@ module Vedeu
2
2
 
3
3
  # Provides methods to be used by Vedeu::ApplicationController.
4
4
  #
5
- # @api private
6
5
  module Controller
7
6
 
8
7
  # When included, provide these methods as class methods.
@@ -2,7 +2,6 @@ module Vedeu
2
2
 
3
3
  # Provides methods to be used by Vedeu::ApplicationHelper.
4
4
  #
5
- # @api private
6
5
  module Helper
7
6
 
8
7
  end # Helper
@@ -2,7 +2,6 @@ module Vedeu
2
2
 
3
3
  # Provides methods to be used by Vedeu::ApplicationView.
4
4
  #
5
- # @api private
6
5
  module View
7
6
 
8
7
  # Returns the current local time.
@@ -13,7 +13,6 @@ module Vedeu
13
13
  # directly, however the produced events are all public and are highly
14
14
  # recommended to be used.
15
15
  #
16
- # @api private
17
16
  module Bindings
18
17
 
19
18
  # Setup events for running Vedeu. This method is called by Vedeu.
@@ -60,17 +60,7 @@ module Vedeu
60
60
  end
61
61
  end
62
62
 
63
- # Will hide all of the interfaces belonging to the named group. Useful for
64
- # hiding part of that which is currently displaying in the terminal.
65
-
66
- # This may be rarely used, since the action of showing a group will
67
- # effectively clear the terminal and show the new group.
68
- #
69
- # @example
70
- # Vedeu.trigger(:_hide_group_, name)
71
- # Vedeu.hide_group(name)
72
- #
73
- # @return [void]
63
+ # @see Vedeu::Group#hide
74
64
  def hide_group!
75
65
  Vedeu.bind(:_hide_group_) do |name|
76
66
  Vedeu::Group.hide_group(name)
@@ -108,14 +98,7 @@ module Vedeu
108
98
  end
109
99
  end
110
100
 
111
- # Will clear the terminal and then show all of the interfaces belonging to
112
- # the named group.
113
- #
114
- # @example
115
- # Vedeu.trigger(:_show_group_, name)
116
- # Vedeu.show_group(name)
117
- #
118
- # @return [void]
101
+ # @see Vedeu::Group#show
119
102
  def show_group!
120
103
  Vedeu.bind(:_show_group_) do |name|
121
104
  Vedeu::Group.show_group(name)