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.
119 |
# File 'sig/types.rbs', line 119
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.
115 116 117 |
# File 'sig/types.rbs', line 115 def available_space_mb @available_space_mb end |
#newest_file_age_days ⇒ Float (readonly)
Returns the value of attribute newest_file_age_days.
117 118 119 |
# File 'sig/types.rbs', line 117 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.
116 117 118 |
# File 'sig/types.rbs', line 116 def oldest_file_age_days @oldest_file_age_days end |
#total_files ⇒ Integer (readonly)
Returns the value of attribute total_files.
113 114 115 |
# File 'sig/types.rbs', line 113 def total_files @total_files end |
#total_size_mb ⇒ Float (readonly)
Returns the value of attribute total_size_mb.
114 115 116 |
# File 'sig/types.rbs', line 114 def total_size_mb @total_size_mb end |