Sha256: a5cab7a0cd0d8ccc3dd16cceaa776abeca92f92e972d153e36f4c27356442dbf
Contents?: true
Size: 630 Bytes
Versions: 20
Compression:
Stored size: 630 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: name, value: value, separator: opts[:separator], placement: opts[:placement] ) end def apply(builder) builder.with_option( name, value.render, separator: separator, placement: placement ) end end end end end
Version data entries
20 entries across 20 versions & 1 rubygems