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