Skip to content

Commit

Permalink
documented parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
shundhammer committed Dec 1, 2015
1 parent 9eb5aae commit 4b81386
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/lib/storage/proposal_volume.rb
Expand Up @@ -34,6 +34,16 @@ class ProposalVolume
attr_accessor :size, :min_size, :max_size, :desired_size
attr_accessor :can_live_on_logical_volume, :logical_volume_name

# Constructor.
#
# @param mount_point [string] mount point for this volume. This might be
# a real mount point ("/", "/boot", "/home") or a pseudo mount
# point like "swap".
#
# @param filesystem_type [::Storage::FsType] the type of filesystem this
# volume should get. Typically one of ::Storage::BTRFS,
# ::Storage::EXT4, ::Storage::XFS, ::Storage::SWAP
#
def initialize(mount_point, filesystem_type = nil)
@mount_point = mount_point
@filesystem_type = filesystem_type
Expand Down

0 comments on commit 4b81386

Please sign in to comment.