Module: Terraspace::Plugin::Expander::Friendly

Included in:
Compiler::Strategy::Tfvar::Layer, Interface
Defined in:
lib/terraspace/plugin/expander/friendly.rb

Instance Method Summary collapse

Instance Method Details

#friendly_name(name) ⇒ Object



6
7
8
9
10
# File 'lib/terraspace/plugin/expander/friendly.rb', line 6

def friendly_name(name)
  return '' if name.nil?
  names = Terraspace.config.layering.names.stringify_keys
  names[name.to_s] || name
end