Class: Installation::CustomPatterns
- Inherits:
-
Object
- Object
- Installation::CustomPatterns
- Defined in:
- src/lib/installation/custom_patterns.rb
Class Attribute Summary collapse
-
.show ⇒ Object
flag if custom patterns should be shown.
Instance Method Summary collapse
Class Attribute Details
.show ⇒ Object
flag if custom patterns should be shown
10 11 12 |
# File 'src/lib/installation/custom_patterns.rb', line 10 def show @show end |
Instance Method Details
#run ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 |
# File 'src/lib/installation/custom_patterns.rb', line 13 def run if self.class.show ret = Yast::PackagesUI.RunPatternSelector(enable_back: true, cancel_label: Yast::Label.AbortButton) ret = :next if ret == :accept else ret = :auto end ret end |