Sha256: 39010f71ebc371614fd9969becb87f0a7779acbc7febda9d2982ebc593e898b1
Contents?: true
Size: 806 Bytes
Versions: 171
Compression:
Stored size: 806 Bytes
Contents
module Expressir module Model module Statements # Specified in ISO 10303-11:2004 # - section 13.7 If ... Then ... Else statement class If < Statement model_attr_accessor :expression, 'Expression' model_attr_accessor :statements, 'Array<Statement>' model_attr_accessor :else_statements, 'Array<Statement>' # @param [Hash] options # @option options [Expression] :expression # @option options [Array<Statement>] :statements # @option options [Array<Statement>] :else_statements def initialize(options = {}) @expression = options[:expression] @statements = options[:statements] || [] @else_statements = options[:else_statements] || [] super end end end end end
Version data entries
171 entries across 171 versions & 1 rubygems