Sha256: c0236a0cc915f8374bc16c7dcd6adac22b6ef71030bedc794c32cfdc20e8eed7

Contents?: true

Size: 594 Bytes

Versions: 10

Compression:

Stored size: 594 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

10 entries across 10 versions & 1 rubygems

Version Path
expressir-2.1.10 lib/expressir/model/statements/case_action.rb
expressir-2.1.9 lib/expressir/model/statements/case_action.rb
expressir-2.1.8 lib/expressir/model/statements/case_action.rb
expressir-2.1.7 lib/expressir/model/statements/case_action.rb
expressir-2.1.6 lib/expressir/model/statements/case_action.rb
expressir-2.1.5 lib/expressir/model/statements/case_action.rb
expressir-2.1.4 lib/expressir/model/statements/case_action.rb
expressir-2.1.3 lib/expressir/model/statements/case_action.rb
expressir-2.1.2 lib/expressir/model/statements/case_action.rb
expressir-2.1.1 lib/expressir/model/statements/case_action.rb