Sha256: 525a13b7f7f7dfd61f10e032b9b305d04a417b86cf91152860030aa0161654a3

Contents?: true

Size: 184 Bytes

Versions: 21

Compression:

Stored size: 184 Bytes

Contents

# frozen_string_literal: true

# Case#DSL#unique
module DSL
  def unique(key, value)
    return if value.nil?

    k = (key.to_s + '=' + value.to_s).to_sym
    @uniques << k
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
teuton-2.3.6 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.3.5 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.3.4 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.3.3 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.3.2 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.3.1 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.2.2 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.11 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.10 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.9 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.8 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.8dev1 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.7 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.6 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.5dev lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.4 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.3 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.2 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.1 lib/teuton/case_manager/case/dsl/unique.rb
teuton-2.1.0 lib/teuton/case_manager/case/dsl/unique.rb