Sha256: 92af11b93bbdb2054d6cb981aea921214a5f2956ce91865af020327838c38c22

Contents?: true

Size: 463 Bytes

Versions: 21

Compression:

Stored size: 463 Bytes

Contents

module Expressir
  module Model
    module Statements
      class Case < ModelElement
        model_attr_accessor :expression
        model_attr_accessor :actions
        model_attr_accessor :otherwise_statement

        def initialize(options = {})
          @expression = options[:expression]
          @actions = options.fetch(:actions, [])
          @otherwise_statement = options[:otherwise_statement]

          super
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
expressir-0.2.26 lib/expressir/model/statements/case.rb
expressir-0.2.26-x86_64-linux lib/expressir/model/statements/case.rb
expressir-0.2.26-x86_64-darwin lib/expressir/model/statements/case.rb
expressir-0.2.26-x86-mingw32 lib/expressir/model/statements/case.rb
expressir-0.2.26-x86-linux lib/expressir/model/statements/case.rb
expressir-0.2.26-x64-mingw32 lib/expressir/model/statements/case.rb
expressir-0.2.26-arm64-darwin lib/expressir/model/statements/case.rb
expressir-0.2.25 lib/expressir/model/statements/case.rb
expressir-0.2.25-x86_64-linux lib/expressir/model/statements/case.rb
expressir-0.2.25-x86_64-darwin lib/expressir/model/statements/case.rb
expressir-0.2.25-x86-mingw32 lib/expressir/model/statements/case.rb
expressir-0.2.25-x86-linux lib/expressir/model/statements/case.rb
expressir-0.2.25-x64-mingw32 lib/expressir/model/statements/case.rb
expressir-0.2.25-arm64-darwin lib/expressir/model/statements/case.rb
expressir-0.2.24 lib/expressir/model/statements/case.rb
expressir-0.2.24-x86_64-linux lib/expressir/model/statements/case.rb
expressir-0.2.24-x86_64-darwin lib/expressir/model/statements/case.rb
expressir-0.2.24-x86-mingw32 lib/expressir/model/statements/case.rb
expressir-0.2.24-x86-linux lib/expressir/model/statements/case.rb
expressir-0.2.24-x64-mingw32 lib/expressir/model/statements/case.rb