Class: RubyTerraform::Options::Values::Complex

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby_terraform/options/values/complex.rb

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from RubyTerraform::Options::Values::Base

Instance Method Details

#renderObject



15
16
17
# File 'lib/ruby_terraform/options/values/complex.rb', line 15

def render
  @value.is_a?(::String) ? @value : JSON.generate(value)
end

#resolveObject



11
12
13
# File 'lib/ruby_terraform/options/values/complex.rb', line 11

def resolve
  @value
end