Sha256: 893431c91c4c5c60ff587313e40ed9f0e2fe0265e55e679a17fb6d8b01d9b5f0

Contents?: true

Size: 324 Bytes

Versions: 31

Compression:

Stored size: 324 Bytes

Contents

module Coco
  module ComponentHelper
    include Coco::BaseHelper
    include Coco::BookHelper
    include Coco::AppHelper

    def coco_component(name, *args, **kwargs)
      resolve_component("coco/#{name}", *args, **kwargs)
    end

    def resolve_component(...)
      Coco::ComponentResolver.new(...)
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
coveragebook_components-0.6.2 app/helpers/coco/component_helper.rb
coveragebook_components-0.6.1 app/helpers/coco/component_helper.rb
coveragebook_components-0.6.0 app/helpers/coco/component_helper.rb
coveragebook_components-0.5.7 app/helpers/coco/component_helper.rb
coveragebook_components-0.5.6 app/helpers/coco/component_helper.rb
coveragebook_components-0.5.5 app/helpers/coco/component_helper.rb
coveragebook_components-0.5.4 app/helpers/coco/component_helper.rb
coveragebook_components-0.5.3 app/helpers/coco/component_helper.rb
coveragebook_components-0.5.2 app/helpers/coco/component_helper.rb
coveragebook_components-0.5.1 app/helpers/coco/component_helper.rb
coveragebook_components-0.5.0 app/helpers/coco/component_helper.rb