Sha256: 2f735859cc9abed0f551e5c0662fe7ba8b9cad4302895866f90d27d31102b1d3

Contents?: true

Size: 722 Bytes

Versions: 1

Compression:

Stored size: 722 Bytes

Contents

# frozen_string_literal: true

module Storazzo
  module Storazzo
    # This class wraps the RDS file: we're going to write this RDS file
    # directly in the disk: /mount/
    class RicDiskStatsFile
      # Please keep these two in sync, until you fix them and DRY the behaviour.
      DefaultName = 'ricdisk_stats_v11.rds' # => RicDiskStatsFile
      Version = '1.1' # @@version

      # AttrAccessor for class - thanks StackOverflow from Android since Im in roaming :)
      class << self
        attr_accessor :my_default_name, :my_version # without MY it redefines whats below :/
      end

      def self.default_name
        DefaultName
      end

      def self.version
        Version
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
storazzo-0.6.1 lib/storazzo/ric_disk_statsfile.rb