Sha256: ad1601ee2e4dbb80730ef6247846682bbed7e50066ab2f1e5efd66eefee41426
Contents?: true
Size: 354 Bytes
Versions: 7
Compression:
Stored size: 354 Bytes
Contents
module Voom module Presenters module Namespace def _expand_namespace_(presenter, namespace) presenter = presenter.to_s return presenter if presenter.split(':').size > 1 return presenter if presenter.split('/').size > 1 namespace.any? ? namespace.join(':')+':'+presenter : presenter end end end end
Version data entries
7 entries across 7 versions & 1 rubygems