Sha256: 424a52196c3c27b1662356d3896a3f8abf67e346d8d42d5406f44050ce9a08ad

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module DSL
  # Read param option from [running, config or global] Hash data
  def get(option)
    @config.get(option)
  end

  def gett(option)
    value = get(option)
    "#{value} (#{option})"
  end

  def set(key, value)
    @config.set(key, value)
  end

  def unset(key)
    @config.unset(key)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
teuton-2.9.2 lib/teuton/case/dsl/getset.rb
teuton-2.9.1 lib/teuton/case/dsl/getset.rb
teuton-2.9.0 lib/teuton/case/dsl/getset.rb