Sha256: ace60dc6c58a82be645822f63d0a785ddac699c238a9155405961788a313c468

Contents?: true

Size: 251 Bytes

Versions: 1

Compression:

Stored size: 251 Bytes

Contents

module TerraformDevKit
  class TerraformProjectConfig
    attr_reader :name, :acronym
    
    def initialize(project_name)
      @name = project_name.gsub(' ', '-').downcase
      @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.2 lib/TerraformDevKit/terraform_project_config.rb