Sha256: a2b164fd20e19c2fe73078cf2f1f561361a8ff785afe7231073ae7d69e18bcd0
Contents?: true
Size: 310 Bytes
Versions: 1
Compression:
Stored size: 310 Bytes
Contents
module Frappuccino class UntilProperty < Property def initialize(first, switcher, second) @first = first @second = second @current_prop = @first switcher.on_value do |value| @current_prop = @second end end def now @current_prop.now end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
frappuccino-0.3.0 | lib/frappuccino/property/until_property.rb |