Method: Stellar::Thresholds.parse
- Defined in:
- lib/stellar/thresholds.rb
.parse(combined) ⇒ Object
27 28 29 30 31 32 33 34 35 |
# File 'lib/stellar/thresholds.rb', line 27 def parse(combined) master_weight, low, medium, high = combined.unpack("C*") { master_weight: master_weight, low: low, medium: medium, high: high } end |