Class: Revamp::Mapper::PuppetNameSlugger
- Inherits:
-
Object
- Object
- Revamp::Mapper::PuppetNameSlugger
- Defined in:
- lib/revamp/mapper/puppet-name-slugger.rb
Overview
This class implements slugification of Puppet module name: ‘puppetlabs/stdlib’ <-> ‘puppetlabs-stdlib’
Instance Method Summary collapse
Instance Method Details
#map(slash_name) ⇒ Object
5 6 7 |
# File 'lib/revamp/mapper/puppet-name-slugger.rb', line 5 def map(slash_name) slash_name.tr('/', '-') end |