Sha256: 30bb6cf20fe3489bd71d1b9a938e3c8a4e8e16539c99bf2e60482bba4124cb5b

Contents?: true

Size: 459 Bytes

Versions: 14

Compression:

Stored size: 459 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[:actions] || []
          @otherwise_statement = options[:otherwise_statement]

          super
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
expressir-1.0.0 lib/expressir/model/statements/case.rb
expressir-1.0.0-x86_64-linux lib/expressir/model/statements/case.rb
expressir-1.0.0-x86_64-darwin lib/expressir/model/statements/case.rb
expressir-1.0.0-x86-mingw32 lib/expressir/model/statements/case.rb
expressir-1.0.0-x86-linux lib/expressir/model/statements/case.rb
expressir-1.0.0-x64-mingw32 lib/expressir/model/statements/case.rb
expressir-1.0.0-arm64-darwin lib/expressir/model/statements/case.rb
expressir-0.2.27 lib/expressir/model/statements/case.rb
expressir-0.2.27-x86_64-linux lib/expressir/model/statements/case.rb
expressir-0.2.27-x86_64-darwin lib/expressir/model/statements/case.rb
expressir-0.2.27-x86-mingw32 lib/expressir/model/statements/case.rb
expressir-0.2.27-x86-linux lib/expressir/model/statements/case.rb
expressir-0.2.27-x64-mingw32 lib/expressir/model/statements/case.rb
expressir-0.2.27-arm64-darwin lib/expressir/model/statements/case.rb