Module: Terraspace::Plugin::Expander::Friendly
- Included in:
- Compiler::Strategy::Tfvar::Layer, Interface
- Defined in:
- lib/terraspace/plugin/expander/friendly.rb
Instance Method Summary collapse
-
#friendly_name(name) ⇒ Object
used by Terraspace::Compiler::Strategy::Tfvar::Layer Terraspace::Plugin::Expander::Interface.
Instance Method Details
#friendly_name(name) ⇒ Object
used by
Terraspace::Compiler::Strategy::Tfvar::Layer
Terraspace::Plugin::Expander::Interface
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 |