Class: Storazzo::Media::MountPoint

Inherits:
AbstractRicDisk show all
Defined in:
lib/storazzo/media/mount_point.rb

Constant Summary

Constants included from Colors

Colors::PREPEND_ME

Instance Attribute Summary

Attributes inherited from AbstractRicDisk

#description

Class Method Summary collapse

Methods inherited from AbstractRicDisk

DirFactory, abstract_class_mandatory_methods, #check_implemented_correctly, default_stats_filename, #get_local_mountpoint, #initialize, #parse, #parse_block_storage_folder, #stats_file_smart_fullpath, #stats_filename_default_fullpath, super_duper_list_all_with_type, #to_s, #to_verbose_s, #unique_id, #validate, #writeable?

Methods included from Common

#bug, #deb, #err, #fatal, #if_deb?, #linux?, #mac?, #ppp, #pverbose, #warn

Methods included from Colors

#azure, #blue, #deb2, #gray, #green, #orange, #pgreen, #pred, #purple, #pwhite, #pyellow, #red, #white, #yellow

Constructor Details

This class inherits a constructor from Storazzo::Media::AbstractRicDisk

Class Method Details

.list_allObject



14
15
16
# File 'lib/storazzo/media/mount_point.rb', line 14

def self.list_all
  RicDisk.interesting_mount_points
end

.list_all_with_typeObject



18
19
20
# File 'lib/storazzo/media/mount_point.rb', line 18

def self.list_all_with_type
  list_all.map { |x| [:mount_point_todo_less_generic, x] }
end

.list_local_mount_pointsObject

puts “[REMOVEME] Storazzo::Media::MountPoint being read. REMOVEME when you see this :)”



9
10
11
12
# File 'lib/storazzo/media/mount_point.rb', line 9

def self.list_local_mount_points
  deb 'Maybe its abuot time you refactor that method here :)'
  RicDisk.interesting_mount_points
end