Class: Storazzo::Storazzo::RicDiskStatsFile

Inherits:
Object
  • Object
show all
Defined in:
lib/storazzo/ric_disk_statsfile.rb

Overview

This class wraps the RDS file: we’re going to write this RDS file directly in the disk: /mount/

Constant Summary collapse

DefaultName =

Please keep these two in sync, until you fix them and DRY the behaviour.

'ricdisk_stats_v11.rds'
Version =

> RicDiskStatsFile

'1.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.my_default_nameObject

without MY it redefines whats below :/



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

def my_default_name
  @my_default_name
end

.my_versionObject

without MY it redefines whats below :/



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

def my_version
  @my_version
end

Class Method Details

.default_nameObject



17
18
19
# File 'lib/storazzo/ric_disk_statsfile.rb', line 17

def self.default_name
  DefaultName
end

.versionObject



21
22
23
# File 'lib/storazzo/ric_disk_statsfile.rb', line 21

def self.version
  Version
end