Sha256: 1d361ed5ee5a47d3fd4860e568f7f04694c05b775edacd58509b2719a3f8da3c
Contents?: true
Size: 639 Bytes
Versions: 2
Compression:
Stored size: 639 Bytes
Contents
# A sub flow is a flow like any other. # However the name should begin with # _ to indicate that it is a sub # flow this will prevent it being # generated as a top-level flow by # Origen. # Any arguments passed in when # instantiating this flow will be available via a hash as the second # argument, here called options, although the naming is arbitrary. Flow.create do |options| # Define default options options = { :pulses => 4, :post_verify => true, }.merge(options) options[:pulses].times do func :erase_all end if options[:post_verify] import 'erase_vfy' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
origen_testers-0.13.2 | program/_erase.rb |
origen_testers-0.10.0 | program/_erase.rb |