Skip to content

Commit

Permalink
Manually merged: Document the 3 kind of Terms used in CWM
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidner committed May 18, 2017
1 parent b9e0356 commit 90c3c54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion library/cwm/src/lib/cwm/page.rb
Expand Up @@ -11,11 +11,12 @@ class Page < CustomWidget
# @return [Boolean] is this the initially selected tab
attr_accessor :initial

# @return [Yast::Term] contents of the tab, can contain {AbstractWidget}s
# @return [WidgetTerm] contents of the tab, can contain {AbstractWidget}s
abstract_method :contents
# @return [String] label defines name of tab header
abstract_method :label

# @return [WidgetHash]
def cwm_definition
super.merge(
"widgets" => cwm_widgets,
Expand All @@ -25,6 +26,7 @@ def cwm_definition

# get cwm style of widget definitions
# @note internal api only used as gate to communicate with CWM
# @return [Array<WidgetHash>]
def cwm_widgets
return @cwm_widgets if @cwm_widgets

Expand Down

0 comments on commit 90c3c54

Please sign in to comment.