Class: SMPTool::CLI::Executor::Informer
- Inherits:
-
VolReadOperator
- Object
- VolReadOperator
- SMPTool::CLI::Executor::Informer
- Defined in:
- lib/smp_tool/cli/executor/informer.rb
Overview
Prints info about the volume.
Constant Summary collapse
- VOL_PAR_L =
32
- F_NUM_L =
5
- F_STATUS_L =
10
- F_NAME_L =
13
- F_SIZE_L =
4
Instance Method Summary collapse
Methods inherited from VolReadOperator
Constructor Details
This class inherits a constructor from SMPTool::CLI::Executor::VolReadOperator
Instance Method Details
#call ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/smp_tool/cli/executor/informer.rb', line 17 def call snapshot = @volume.snapshot _list_files(snapshot[:volume_data]) puts "" puts "--- Volume information: ---" _print_n_free_clusters(snapshot[:n_free_clusters]) _print_vol_params(snapshot[:volume_params]) super end |