lib/vedeu/groups/clear.rb in vedeu-0.8.15 vs lib/vedeu/groups/clear.rb in vedeu-0.8.16
- old
+ new
@@ -8,17 +8,12 @@
#
class Clear
class << self
- # Clears the group of interfaces belonging to the given name.
- #
- # @example
- # Vedeu.trigger(:_clear_group_, name)
- # Vedeu.clear_by_group(name)
- #
- # @param name [String|Symbol]
+ # {include:file:docs/dsl/by_method/clear_by_group.md}
+ # @macro param_name
# @return [void]
def render(name)
new(name).render
end
alias clear_by_group render
@@ -26,10 +21,10 @@
end # Eigenclass
# Return a new instance of Vedeu::Groups::Clear.
#
- # @param name [String|Symbol]
+ # @macro param_name
# @return [Vedeu::Groups::Clear]
def initialize(name)
@name = name
end