Sha256: 9f18c663beb2dc1d95bf4beda6b3513cb8996791806f23fb4c169ee654e72e26

Contents?: true

Size: 306 Bytes

Versions: 7

Compression:

Stored size: 306 Bytes

Contents

module Coco
  module ComponentHelper
    include Coco::SharedHelper
    include Coco::BookHelper
    include Coco::AppHelper

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
coveragebook_components-0.12.2 app/helpers/coco/component_helper.rb
coveragebook_components-0.12.1 app/helpers/coco/component_helper.rb
coveragebook_components-0.12.0 app/helpers/coco/component_helper.rb
coveragebook_components-0.11.0 app/helpers/coco/component_helper.rb
coveragebook_components-0.10.1.beta.2 app/helpers/coco/component_helper.rb
coveragebook_components-0.10.1.beta.1 app/helpers/coco/component_helper.rb
coveragebook_components-0.10.1.beta.0 app/helpers/coco/component_helper.rb