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