Sha256: ba6fac8ab6bafce27728c453b0db8ba07103faa516a1a5973cc0f772817dbc2f

Contents?: true

Size: 397 Bytes

Versions: 3

Compression:

Stored size: 397 Bytes

Contents

module Expressir
  module Model
    module Statements
      class Case
        attr_accessor :selector
        attr_accessor :actions
        attr_accessor :otherwise_statement

        def initialize(options = {})
          @selector = options[:selector]
          @actions = options[:actions]
          @otherwise_statement = options[:otherwise_statement]
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
expressir-0.2.2 lib/expressir/model/statements/case.rb
expressir-0.2.1 lib/expressir/model/statements/case.rb
expressir-0.2.0 lib/expressir/model/statements/case.rb