Sha256: c319fe1e7220b940c27dab15bede53fd030e30c48177aea510a37fd7fe518515

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

require "hotwire_combobox/version"
require "hotwire_combobox/engine"

module HotwireCombobox
  Option = Struct.new(:id, :value, :display, :content, :filterable_as, :autocompletable_as)

  mattr_accessor :bypass_convenience_methods
  @@bypass_convenience_methods = false

  class << self
    def setup
      yield self
    end

    def bypass_convenience_methods?
      bypass_convenience_methods
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hotwire_combobox-0.1.11 lib/hotwire_combobox.rb
hotwire_combobox-0.1.10 lib/hotwire_combobox.rb
hotwire_combobox-0.1.9 lib/hotwire_combobox.rb
hotwire_combobox-0.1.8 lib/hotwire_combobox.rb