lib/vedeu/bindings/visibility.rb in vedeu-0.6.6 vs lib/vedeu/bindings/visibility.rb in vedeu-0.6.7
- old
+ new
@@ -1,17 +1,19 @@
module Vedeu
module Bindings
- # System events relating to the visibility of cursors or interfaces.
+ # System events relating to the visibility of cursors or
+ # interfaces.
#
# :nocov:
module Visibility
extend self
- # Setup events relating to visibility. This method is called by Vedeu.
+ # Setup events relating to visibility. This method is called by
+ # Vedeu.
#
# @return [TrueClass]
def setup!
clear_group!
hide_cursor!
@@ -25,12 +27,12 @@
toggle_interface!
end
private
- # Clears the spaces occupied by the interfaces belonging to the named
- # group.
+ # Clears the spaces occupied by the interfaces belonging to the
+ # named group.
#
# @example
# Vedeu.trigger(:_clear_group_, name)
# Vedeu.clear_by_group(name)
#
@@ -39,12 +41,12 @@
Vedeu.bind(:_clear_group_) do |name|
Vedeu::Clear::NamedGroup.render(name)
end
end
- # Hide the cursor of the named interface or when a name is not given, the
- # interface currently in focus.
+ # Hide the cursor of the named interface or when a name is not
+ # given, the interface currently in focus.
#
# @example
# Vedeu.trigger(:_hide_cursor_, name)
# Vedeu.trigger(:_cursor_hide_, name)
# Vedeu.hide_cursor(name)
@@ -74,11 +76,11 @@
Vedeu.bind(:_hide_interface_) do |name|
Vedeu::Interface.hide_interface(name)
end
end
- # Show the cursor of the named interface or when a name is not given, the
- # interface currently in focus.
+ # Show the cursor of the named interface or when a name is not
+ # given, the interface currently in focus.
#
# @example
# Vedeu.trigger(:_show_cursor_, name)
# Vedeu.trigger(:_cursor_show_, name)
# Vedeu.show_cursor(name)