Sha256: 5c8633f2be1d1f87c29c31fc6abd4227dac3d61234419e930e235b4c341652a0

Contents?: true

Size: 362 Bytes

Versions: 39

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

# DSL#get and DSL#set
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

39 entries across 39 versions & 1 rubygems

Version Path
teuton-2.8.0 lib/teuton/case/dsl/getset.rb
teuton-2.7.3 lib/teuton/case/dsl/getset.rb
teuton-2.7.2 lib/teuton/case/dsl/getset.rb
teuton-2.7.1 lib/teuton/case/dsl/getset.rb
teuton-2.7.0 lib/teuton/case/dsl/getset.rb
teuton-2.6.0 lib/teuton/case/dsl/getset.rb
teuton-2.5.0 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.4.5 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.4.4 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.4.3 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.4.2 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.4.1 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.4.0 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.3.11 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.3.10 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.3.9 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.3.8 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.3.7 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.3.6 lib/teuton/case_manager/case/dsl/getset.rb
teuton-2.3.5 lib/teuton/case_manager/case/dsl/getset.rb