require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :CreativeWork, 'mida_vocabulary/vocabularies/schemaorg/creativework' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' # Computer programming source code. Example: Full (compile ready) solutions, code snippet samples, scripts, templates. class Code < Mida::Vocabulary itemtype %r{http://schema.org/Code}i include_vocabulary Mida::SchemaOrg::CreativeWork include_vocabulary Mida::SchemaOrg::Thing end end end