Sha256: 83dd3c8062408e017826356674ebb6f8b704df7d8174b7362458a5dc54de494f

Contents?: true

Size: 584 Bytes

Versions: 3

Compression:

Stored size: 584 Bytes

Contents

# frozen_string_literal: true

require "view_component"

require "playbook/version"
require "playbook/engine"
require "playbook/props"
require "playbook/forms"
require "playbook/pb_forms_helper"
require "playbook/pb_kit_helper"
require "playbook/kit_base"
require "playbook/kit_resolver"

module Playbook
  ROOT_PATH = Pathname.new(File.join(__dir__, ".."))

  class ConflictingPropsError < StandardError; end

  class MissingPropError < StandardError; end

module_function

  def kit_path(kit, *args)
    Playbook::Engine.root.join("app/pb_kits/playbook/pb_#{kit}", *args)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
playbook_ui-12.20.0.pre.alpha.movemarkdown668 lib/playbook.rb
playbook_ui-12.19.0.pre.alpha.movemarkdown639 lib/playbook.rb
playbook_ui-12.19.0.pre.alpha.movemarkdown637 lib/playbook.rb