Module: RubyTerraform::Options::Types
- Defined in:
- lib/ruby_terraform/options/types.rb,
lib/ruby_terraform/options/types/flag.rb,
lib/ruby_terraform/options/types/standard.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.flag(name, value) ⇒ Object
13 14 15 |
# File 'lib/ruby_terraform/options/types.rb', line 13 def self.flag(name, value) Flag.new(name, value) end |
.resolve(type) ⇒ Object
17 18 19 20 21 22 23 |
# 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) ⇒ Object
9 10 11 |
# File 'lib/ruby_terraform/options/types.rb', line 9 def self.standard(name, value, **opts) Standard.new(name, value, **opts) end |