Sha256: 628a0f9f6084e9f72ef5ed377836f0addbb1fc204d71a653dc513e6b7ad020b5
Contents?: true
Size: 250 Bytes
Versions: 2
Compression:
Stored size: 250 Bytes
Contents
module Variation class ImmediateChange < Change # Pass :end_value by hash. def initialize hashed_args super(hashed_args.merge(:length => 0)) end def transition_function start_point ConstantFunction.from_value end_value end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
variation-0.2.1 | lib/variation/changes/immediate_change.rb |
variation-0.2.0 | lib/variation/changes/immediate_change.rb |