Sha256: 361d7450da28c86acc7aa33f72473ea905236cb05a1df55b13ec5ccd67528333
Contents?: true
Size: 1.52 KB
Versions: 2
Compression:
Stored size: 1.52 KB
Contents
module Sbuilder # interface paramter set extending interface class ParamSetStep < ParamSet attr_reader :bindExact # return return boolead attr_reader :interfaceReference # return interface:paramSet referenced attr_reader :inputs # array of inputs # ------------------------------------------------------------------ # mixer PROGNAME = "ParamSetStep" # progname for logger include Sbuilder::Utils::MyLogger # mix logger # constrcutore def initialize( options = {} ) super( options ) @logger = getLogger( PROGNAME, options ) @logger.debug( "#{__method__} initialized" ) # default - use rule @bindExact = false @inputs = [] end # ------------------------------------------------------------------ # setInterfaceRefence # configure def setInterfaceReference( interfaceParamSet ) @interfaceReference = interfaceParamSet self end # identity - deletegate to reference def doGetId interfaceReference.getId end # ------------------------------------------------------------------ # build # def setInputs( inputs ) # @inputs = inputs # end def addInput( input ) @inputs << input self end # ------------------------------------------------------------------ # bindExact def setBindExact( bindExact ) @bindExact = bindExact.nil? ? false : bindExact self end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tla-sbuilder-0.2.2 | lib/sbuilder/param_set_step.rb |
tla-sbuilder-0.2.1 | lib/sbuilder/param_set_step.rb |