Sha256: 3cc9a93d8ae8b8ac598d7af1f94045fd468fc066b49882ece331e6938f334330
Contents?: true
Size: 302 Bytes
Versions: 7
Compression:
Stored size: 302 Bytes
Contents
# frozen_string_literal: true module Lite module Component module ComponentHelper def component(name, options = {}) name = name.component_path if name.respond_to?(:component_path) "#{name}_component".classify.constantize.render(self, options) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems