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-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.14.1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.13.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.12.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.11.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.10.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.9.0.alpha.inline1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.9.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.8.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.7.0.pre.alphawidth1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.7.0.pre.alpha.a11y.btn app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.7.0 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.6.1 app/pb_kits/playbook/pb_docs/kit_api.rb
playbook_ui-9.6.1.pre.deps1 app/pb_kits/playbook/pb_docs/kit_api.rb