Sha256: 12d5ca5a3fa27abcd31d2daa02e335e790f90281883634ca5487679c4d77e54a

Contents?: true

Size: 429 Bytes

Versions: 3

Compression:

Stored size: 429 Bytes

Contents

# frozen_string_literal: true

module RubyTerraform
  module Options
    module Types
      class Base
        def initialize(name, value)
          @name = name
          coerce_value(value)
        end

        def apply(_builder)
          raise 'not implemented'
        end

        private

        attr_reader :name, :value

        def coerce_value(value)
          @value = value
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-terraform-0.65.0.pre.11 lib/ruby_terraform/options/types/base.rb
ruby-terraform-0.65.0.pre.10 lib/ruby_terraform/options/types/base.rb
ruby-terraform-0.65.0.pre.9 lib/ruby_terraform/options/types/base.rb