Sha256: fa6ea3b5a01165e50aba1fe52d74af95030dcca004affa51e5413aba84c3b02c
Contents?: true
Size: 196 Bytes
Versions: 3
Compression:
Stored size: 196 Bytes
Contents
module Terraformer class Normalizer class << self def module_name(name) "#{name.gsub(/[^a-zA-Z0-9_]/, "_")}_#{SecureRandom.hex(4)}".gsub(/_+/, '_') end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
terraform-exporter-0.0.4 | lib/terraformer/normalizer.rb |
terraform-exporter-0.0.3 | lib/terraformer/normalizer.rb |
terraform-exporter-0.0.2 | lib/terraformer/normalizer.rb |