Sha256: 823682c40b39e080dcbd8de369cacdbfd2c06407ef9594372ca4d6f0656f51ff

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

(******************************************************************
{{META.desc}}
 - modelData {{META.modelData}}
 - template  {{META.template}}

******************************************************************)

\* create record to put into 'responses'variable field
InfrastructureServiceResponse( status, response ) == [ status |-> status, response |-> response ]

\* Initial value to variable 'responses' 
InfrastructureServiceInit == {{!

    No infrastructure services defined

}}{{^infrastructureServices.length}} Nil \* No infrastructure services defined

{{/infrastructureServices.length}}{{!

      Some infrastructure services defined

}}{{#infrastructureServices.length}} [ {{/infrastructureServices.length}} {{!

    iterate infrastructureServices

    - output: <interface_name> |-> Nil, 


}}{{#infrastructureServices}} {{>name_process.mustache}} |-> InfrastructureServiceResponse( Nil, Nil ){{_comma}}{{/infrastructureServices}}{{!

    Infrastructure-services defined && end

    - ouput: ];

}}{{#infrastructureServices.length}}  ] {{/infrastructureServices.length}}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tla-sbuilder-0.2.2 mustache/infrastructure-service-init.mustache
tla-sbuilder-0.2.1 mustache/infrastructure-service-init.mustache
tla-sbuilder-0.1.0 mustache/infrastructure-service-init.mustache