Sha256: 5dfa978004fd1ee79360a1f7b1e28f53db79a15a286e18239af6c341ef1fe6a9
Contents?: true
Size: 634 Bytes
Versions: 59
Compression:
Stored size: 634 Bytes
Contents
# frozen_string_literal: true module RubyTerraform 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
59 entries across 59 versions & 1 rubygems