Sha256: d18a1b3228b629846c130964cc239323f3fbeb8f72ebc070edceeba41ea39477
Contents?: true
Size: 355 Bytes
Versions: 12
Compression:
Stored size: 355 Bytes
Contents
module Coprl 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
12 entries across 12 versions & 1 rubygems