module RubyTerraform::Options::Types

Public Class Methods

flag(name, value) click to toggle source
# File lib/ruby_terraform/options/types.rb, line 13
def self.flag(name, value)
  Flag.new(name, value)
end
resolve(type) click to toggle source
# File lib/ruby_terraform/options/types.rb, line 17
def self.resolve(type)
  case type
  when :standard then Types::Standard
  when :flag then Types::Flag
  else type
  end
end
standard(name, value, **opts) click to toggle source
# File lib/ruby_terraform/options/types.rb, line 9
def self.standard(name, value, **opts)
  Standard.new(name, value, **opts)
end