Sha256: ea075389061501bd23da878a67d19fe2213a470af6a223916a07e92489648e57
Contents?: true
Size: 562 Bytes
Versions: 3
Compression:
Stored size: 562 Bytes
Contents
require 'mida_vocabulary/vocabulary' module Mida module SchemaOrg autoload :CivicStructure, 'mida_vocabulary/vocabularies/schemaorg/civicstructure' autoload :Place, 'mida_vocabulary/vocabularies/schemaorg/place' autoload :Thing, 'mida_vocabulary/vocabularies/schemaorg/thing' # A museum. class Museum < Mida::Vocabulary itemtype %r{http://schema.org/Museum}i include_vocabulary Mida::SchemaOrg::CivicStructure include_vocabulary Mida::SchemaOrg::Place include_vocabulary Mida::SchemaOrg::Thing end end end
Version data entries
3 entries across 2 versions & 1 rubygems