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-0.0.1 lib/teuton/case_manager/case/dsl/unique.rb