Sha256: c5a346c59247858a613dd4ad068d589885838c47ec14c25fe5436fb0769d21f3

Contents?: true

Size: 610 Bytes

Versions: 4

Compression:

Stored size: 610 Bytes

Contents

require 'mida_vocabulary/vocabulary'

module Mida
  module SchemaOrg

    autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing'
    autoload :Organization, 'mida_vocabulary/vocabularies/schemaorg/organization'
    autoload :EducationalOrganization, 'mida_vocabulary/vocabularies/schemaorg/educationalorganization'

    # A school.
    class School < Mida::Vocabulary
      itemtype %r{http://schema.org/School}i
      include_vocabulary Mida::SchemaOrg::Thing
      include_vocabulary Mida::SchemaOrg::Organization
      include_vocabulary Mida::SchemaOrg::EducationalOrganization
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mida_vocabulary-0.1.3 lib/mida_vocabulary/vocabularies/schemaorg/school.rb
mida_vocabulary-0.1.2 lib/mida_vocabulary/vocabularies/schemaorg/school.rb
mida_vocabulary-0.1.1 lib/mida_vocabulary/vocabularies/schemaorg/school.rb
mida_vocabulary-0.1 lib/mida_vocabulary/vocabularies/schemaorg/school.rb