Skip to content

Commit

Permalink
Fixed documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
teclator committed Nov 19, 2021
1 parent 412a89b commit be3b488
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lib/autoinstall/y2erb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def self.render(path)
class TemplateEnvironment
include Yast::Logger

# @see {EFIDetector}
# @see Y2Autoinstallation::EFIDetector
# @return [Boolean] whether the system is booted using EFI or not
def boot_efi?
(@efi_detector ||= EFIDetector.new).boot_efi?
Expand Down
5 changes: 2 additions & 3 deletions src/modules/AutoInstallRules.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1086,9 +1086,8 @@ def AutoInstallRules
nil
end

# @see {Y2Autoinstallation::EFIDetector}
# @return [String] "yes" when the system is booted using EFI or "no" when not according to the
# {Y2Autoinstallation::EFIDetector}
# @see Y2Autoinstallation::EFIDetector
# @return [String] "yes" when the system is booted using EFI or "no" when not
def boot_efi?
(@detector ||= Y2Autoinstallation::EFIDetector.new).boot_efi? ? "yes" : "no"
end
Expand Down

0 comments on commit be3b488

Please sign in to comment.