Sha256: 43156c2d342cb2b22dc0c88cc393aaab6eff18ebddaf4d110dba690b7948363e
Contents?: true
Size: 333 Bytes
Versions: 3
Compression:
Stored size: 333 Bytes
Contents
# pushes a new +:bool+ ValuePoint, with value determined by a call to BoolType.any_value # class BoolRandomInstruction < Instruction def preconditions? true # no preconditions end def setup end def derive @result = ValuePoint.new("bool", BoolType.any_value) end def cleanup pushes :bool, @result end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
nudge-0.2.9 | lib/instructions/bool/bool_random.rb |
nudge-0.2.8 | lib/instructions/bool/bool_random.rb |
nudge-0.2.7 | lib/instructions/bool/bool_random.rb |