Sha256: 97f4dcead54ee421989477dcb41b24bc77833f4709d0d398f9973e388e8bc9f2

Contents?: true

Size: 593 Bytes

Versions: 171

Compression:

Stored size: 593 Bytes

Contents

module Expressir
  module Model
    module Statements
      # Specified in ISO 10303-11:2004
      # - section 13.4 Case statement
      class CaseAction < ModelElement
        model_attr_accessor :labels, 'Array<Expression>'
        model_attr_accessor :statement, 'Statement'

        # @param [Hash] options
        # @option options [Array<Expression>] :labels
        # @option options [Statement] :statement
        def initialize(options = {})
          @labels = options[:labels] || []
          @statement = options[:statement]

          super
        end
      end
    end
  end
end

Version data entries

171 entries across 171 versions & 1 rubygems

Version Path
expressir-1.2.0-x86-mingw32 lib/expressir/model/statements/case_action.rb
expressir-1.2.0-x86-linux lib/expressir/model/statements/case_action.rb
expressir-1.2.0-x64-mingw32 lib/expressir/model/statements/case_action.rb
expressir-1.2.0-arm64-darwin lib/expressir/model/statements/case_action.rb
expressir-1.1.0 lib/expressir/model/statements/case_action.rb
expressir-1.1.0-x86_64-linux lib/expressir/model/statements/case_action.rb
expressir-1.1.0-x86_64-darwin lib/expressir/model/statements/case_action.rb
expressir-1.1.0-x86-mingw32 lib/expressir/model/statements/case_action.rb
expressir-1.1.0-x86-linux lib/expressir/model/statements/case_action.rb
expressir-1.1.0-x64-mingw32 lib/expressir/model/statements/case_action.rb
expressir-1.1.0-arm64-darwin lib/expressir/model/statements/case_action.rb