Sha256: 38d9bca3da71d807daede37ec842f5616f51711caca071fa93895f2c75349af8

Contents?: true

Size: 220 Bytes

Versions: 9

Compression:

Stored size: 220 Bytes

Contents

require 'mida/vocabulary'

module Mida

  # A Generic vocabulary that will match against anything
  class GenericVocabulary < Mida::Vocabulary
    itemtype %r{}
    has_many :any do
      extract :any
    end
  end

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mida-0.4.0 lib/mida/vocabularies/genericvocabulary.rb
mida-0.3.9 lib/mida/vocabularies/genericvocabulary.rb
mida-0.3.8 lib/mida/vocabularies/genericvocabulary.rb
mida-0.3.7 lib/mida/vocabularies/genericvocabulary.rb
mida-0.3.6 lib/mida/vocabularies/genericvocabulary.rb
mida-0.3.3 lib/mida/vocabularies/genericvocabulary.rb
mida-0.3.2 lib/mida/genericvocabulary.rb
mida-0.3.1 lib/mida/genericvocabulary.rb
mida-0.3.0 lib/mida/genericvocabulary.rb