Method: Determinator::TargetGroup#rollout_percent
- Defined in:
- lib/determinator/target_group.rb
#rollout_percent ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/determinator/target_group.rb', line 10 def rollout_percent # Rollout is out of 65536 because the highest rollout indicator # (which is a 16 bit integer) can be is 65,535. 100% rollout # needs to include the highest indicator, and 0% needs to not include # the lowest indicator. Rational(rollout, 65_536) end |