summaryrefslogtreecommitdiff
path: root/spec/functions/to_bytes_spec.rb
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2015-11-18 14:32:24 +0300
committerMichael Polenchuk <mpolenchuk@mirantis.com>2015-12-31 12:46:07 +0300
commit27782242bc27dced7bed316a01c21fffd94e34f8 (patch)
tree67bd90fde8238bfff754d2fcdd782c9fbc6d88f0 /spec/functions/to_bytes_spec.rb
parent61333cfc48026af204483d681bd8b10cb44d6fc6 (diff)
Add clamp function
Clamp keeps value within the range. Employ of soft() makes the whole thing is independant of order.
Diffstat (limited to 'spec/functions/to_bytes_spec.rb')
0 files changed, 0 insertions, 0 deletions