Class: 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 :/



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

def my_default_name
  @my_default_name
end

.my_versionObject

without MY it redefines whats below :/



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

def my_version
  @my_version
end

Class Method Details

.default_nameObject



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

def self.default_name
  DefaultName
end

.versionObject



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

def self.version
  Version
end