Class: SitemapBoiler::URLComposer
- Inherits:
-
Object
- Object
- SitemapBoiler::URLComposer
- Defined in:
- lib/sitemap_boiler/url_composer.rb
Class Method Summary collapse
Class Method Details
.compose(*args) ⇒ Object
3 4 5 |
# File 'lib/sitemap_boiler/url_composer.rb', line 3 def self.compose(*args) args.select { |a| a && a != '' }.join('/') end |