Sha256: b57814569bc27d138f3b5b1690116de392eb22f89ac0e3f9021073e4b67483a1
Contents?: true
Size: 533 Bytes
Versions: 6
Compression:
Stored size: 533 Bytes
Contents
require 'mida/vocabulary' module Mida module SchemaOrg autoload :Thing, 'mida/vocabularies/schemaorg/thing' autoload :CreativeWork, 'mida/vocabularies/schemaorg/creativework' autoload :Article, 'mida/vocabularies/schemaorg/article' # A news article class NewsArticle < Mida::Vocabulary itemtype %r{http://schema.org/NewsArticle}i include_vocabulary Mida::SchemaOrg::Thing include_vocabulary Mida::SchemaOrg::CreativeWork include_vocabulary Mida::SchemaOrg::Article end end end
Version data entries
6 entries across 6 versions & 1 rubygems