Module: Pangea::Components::Naming
- Included in:
- Base
- Defined in:
- lib/pangea/components/base.rb
Instance Method Summary collapse
Instance Method Details
#component_resource_name(component_name, resource_type, suffix = nil) ⇒ Object
39 40 41 42 43 |
# File 'lib/pangea/components/base.rb', line 39 def component_resource_name(component_name, resource_type, suffix = nil) parts = [component_name, resource_type] parts << suffix if suffix parts.join('_').to_sym end |