Sha256: 1c2a3cf21a0ec48b93df0ca96c4e6e75990572994105a0e1999be0b09a6c7a42

Contents?: true

Size: 343 Bytes

Versions: 291

Compression:

Stored size: 343 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbDocs
    class KitApi < Playbook::KitBase
      prop :kit, type: Playbook::Props::String, required: true

      def kit_props
        kit_class.props
      end

    private

      def kit_class
        @kit_class ||= Playbook::KitResolver.resolve(kit.to_s)
      end
    end
  end
end

Version data entries

291 entries across 291 versions & 1 rubygems

Version Path
playbook_ui-12.0.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.20.0.pre.alpha.passthrough1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.20.0.pre.alpha.railsdialog1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.20.0.pre.alpha.focus1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.20.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.19.0.pre.alpha.map1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.19.0.pre.alpha.pagpassthrough1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.19.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.18.0.pre.alpha.pagutility1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.19.0.pre.typeahead1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.18.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.17.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.15.0.pre.alpha.dependencies1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.16.0.pre.alpha.paginationrails1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.16.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.16.0.pre.alpha.reactupgrade1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.15.0.pre.alpha.table1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.16.0.pre.alpha.pagination.rails1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.15.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-11.14.0 app/pb_kits/playbook/pb_docs/kit_api.rb