Sha256: c44ae9902a695d85aad85958767c1938cad735b4939226a1001cb0c521c6aa1f
Contents?: true
Size: 508 Bytes
Versions: 69
Compression:
Stored size: 508 Bytes
Contents
# frozen_string_literal: true require_relative 'types/standard' require_relative 'types/flag' module RubyTerraform module Options module Types def self.standard(name, value, **opts) Standard.new(name, value, **opts) end def self.flag(name, value) Flag.new(name, value) end def self.resolve(type) case type when :standard then Types::Standard when :flag then Types::Flag else type end end end end end
Version data entries
69 entries across 69 versions & 1 rubygems