require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place' # A country. class Country < Mida::Vocabulary itemtype %r{http://schema.org/Country}i include_vocabulary Mida::SchemaOrg::Thing include_vocabulary Mida::SchemaOrg::Place end end end