Class: Ryac::Pipeline::CompressionStats
- Inherits:
-
Data
- Object
- Data
- Ryac::Pipeline::CompressionStats
- Defined in:
- lib/ryac/pipeline/data_types.rb,
sig/ryac/pipeline/data_types.rbs
Overview
Compression statistics for the final output
Instance Attribute Summary collapse
-
#compression_ratio ⇒ Object
readonly
Returns the value of attribute compression_ratio.
-
#file_count ⇒ Object
readonly
Returns the value of attribute file_count.
-
#minified_size ⇒ Object
readonly
Returns the value of attribute minified_size.
-
#original_size ⇒ Object
readonly
Returns the value of attribute original_size.
Class Method Summary collapse
Instance Attribute Details
#compression_ratio ⇒ Object (readonly)
Returns the value of attribute compression_ratio
141 142 143 |
# File 'lib/ryac/pipeline/data_types.rb', line 141 def compression_ratio @compression_ratio end |
#file_count ⇒ Object (readonly)
Returns the value of attribute file_count
141 142 143 |
# File 'lib/ryac/pipeline/data_types.rb', line 141 def file_count @file_count end |
#minified_size ⇒ Object (readonly)
Returns the value of attribute minified_size
141 142 143 |
# File 'lib/ryac/pipeline/data_types.rb', line 141 def minified_size @minified_size end |
#original_size ⇒ Object (readonly)
Returns the value of attribute original_size
141 142 143 |
# File 'lib/ryac/pipeline/data_types.rb', line 141 def original_size @original_size end |
Class Method Details
.new ⇒ CompressionStats
131 |
# File 'sig/ryac/pipeline/data_types.rbs', line 131 def self.new: (original_size: Integer, minified_size: Integer, compression_ratio: Float, file_count: Integer) -> CompressionStats |