Skip to content

Commit

Permalink
add pmbr methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Apr 25, 2017
1 parent af6fcea commit ac7fd29
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/y2storage/partition_tables/gpt.rb
Expand Up @@ -29,6 +29,14 @@ module PartitionTables
# This is a wrapper for Storage::Gpt
class Gpt < Base
wrap_class Storage::Gpt

# @!method pmbr_boot?
# @return [Boolean] whether protective MBR flag is set
storage_forward :pmbr_boot?, to: :is_pmbr_boot

# @!method pmbr_boot=(value)
# @attr value [Boolean] set/unset flag
storage_forward :pmbr_boot=, to: :set_pmbr_boot
end
end
end

0 comments on commit ac7fd29

Please sign in to comment.