Class: Xberg::CacheStats
- Inherits:
-
Object
- Object
- Xberg::CacheStats
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#available_space_mb ⇒ Float
readonly
Returns the value of attribute available_space_mb.
-
#newest_file_age_days ⇒ Float
readonly
Returns the value of attribute newest_file_age_days.
-
#oldest_file_age_days ⇒ Float
readonly
Returns the value of attribute oldest_file_age_days.
-
#total_files ⇒ Integer
readonly
Returns the value of attribute total_files.
-
#total_size_mb ⇒ Float
readonly
Returns the value of attribute total_size_mb.
Instance Method Summary collapse
-
#initialize ⇒ CacheStats
constructor
A new instance of CacheStats.
Constructor Details
#initialize ⇒ CacheStats
Returns a new instance of CacheStats.
19 |
# File 'sig/types.rbs', line 19
def initialize: (total_files: Integer, total_size_mb: Float, available_space_mb: Float, oldest_file_age_days: Float, newest_file_age_days: Float) -> void
|
Instance Attribute Details
#available_space_mb ⇒ Float (readonly)
Returns the value of attribute available_space_mb.
15 16 17 |
# File 'sig/types.rbs', line 15 def available_space_mb @available_space_mb end |
#newest_file_age_days ⇒ Float (readonly)
Returns the value of attribute newest_file_age_days.
17 18 19 |
# File 'sig/types.rbs', line 17 def newest_file_age_days @newest_file_age_days end |
#oldest_file_age_days ⇒ Float (readonly)
Returns the value of attribute oldest_file_age_days.
16 17 18 |
# File 'sig/types.rbs', line 16 def oldest_file_age_days @oldest_file_age_days end |
#total_files ⇒ Integer (readonly)
Returns the value of attribute total_files.
13 14 15 |
# File 'sig/types.rbs', line 13 def total_files @total_files end |
#total_size_mb ⇒ Float (readonly)
Returns the value of attribute total_size_mb.
14 15 16 |
# File 'sig/types.rbs', line 14 def total_size_mb @total_size_mb end |