Sha256: b6f25ff133fba0a656875fffbe5464db094d7c2702e7b7f61c236e5b95742930
Contents?: true
Size: 599 Bytes
Versions: 5
Compression:
Stored size: 599 Bytes
Contents
# frozen_string_literal: true module RubyVault module Options module Types class Standard < ImmutableStruct.new( :name, :value, :separator, :placement ) def initialize(name, value, **opts) super( name:, value:, separator: opts[:separator], placement: opts[:placement] ) end def apply(builder) builder.with_option( name, value.render, separator:, placement: ) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems