Sha256: f59b9cba121c5768b25a0a2e12e75ed438a247dd3a8e31c5d44060d94e13aa9a
Contents?: true
Size: 410 Bytes
Versions: 5
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true require 'immutable-struct' module RubyVault module Options module Values class KeyValue < ImmutableStruct.new(:key, :value) def initialize(key, value) super(key:, value:) end def resolve { key => value.resolve } end def render "'#{key}=#{value.render}'" end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems