Sha256: aecc0fa60fa93de7800643d2756aff528260a11b5eebd8fe3bf9be9e983f7ed7

Contents?: true

Size: 288 Bytes

Versions: 1

Compression:

Stored size: 288 Bytes

Contents

module TerraformDevKit
  class TerraformProjectConfig
    attr_reader :name, :acronym

    def initialize(project_name, project_acronym = nil)
      @name = project_name.tr(' ', '-').downcase
      @acronym = project_acronym || project_name.scan(/\b[a-z]/i).join.upcase
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
TerraformDevKit-0.3.4 lib/TerraformDevKit/terraform_project_config.rb