Class: RDF::Vocab::RSS

Inherits:
StrictVocabulary show all
Defined in:
vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-4431c6a28a93/lib/rdf/vocab/rss.rb

Overview

Vocabulary for http://purl.org/rss/1.0/

Instance Attribute Summary collapse

Method Summary

Methods inherited from StrictVocabulary

[], strict?

Methods inherited from RDF::Vocabulary

[], #[], __prefix__, _orig_each, _orig_from_sym, camelize, each, each_statement, enum_for, expand_pname, find, find_term, from_graph, from_sym, imported_from, imports, #initialize, #inspect, inspect, limit_vocabs, list, method_missing, #method_missing, ontology, properties, property, register, strict?, to_html, to_iri, to_jsonld, #to_s, to_s, to_ttl, #to_uri, to_uri, value_to_html, vocab_map

Constructor Details

This class inherits a constructor from RDF::Vocabulary

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class RDF::Vocabulary

Instance Attribute Details

#channelRDF::Vocabulary::Term (readonly)

An RSS information channel.



6
7
8
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-4431c6a28a93/lib/rdf/vocab/rss.rb', line 6

def channel
  @channel
end

#descriptionRDF::Vocabulary::Term (readonly)

A short text description of the subject.



22
23
24
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-4431c6a28a93/lib/rdf/vocab/rss.rb', line 22

def description
  @description
end

#imageRDF::Vocabulary::Term (readonly)

An RSS image.



10
11
12
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-4431c6a28a93/lib/rdf/vocab/rss.rb', line 10

def image
  @image
end

#itemRDF::Vocabulary::Term (readonly)

An RSS item.



14
15
16
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-4431c6a28a93/lib/rdf/vocab/rss.rb', line 14

def item
  @item
end

#itemsRDF::Vocabulary::Term (readonly)

Points to a list of rss:item elements that are members of the subject channel.



26
27
28
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-4431c6a28a93/lib/rdf/vocab/rss.rb', line 26

def items
  @items
end

The URL to which an HTML rendering of the subject will link.



30
31
32
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-4431c6a28a93/lib/rdf/vocab/rss.rb', line 30

def link
  @link
end

#nameRDF::Vocabulary::Term (readonly)

The text input field's (variable) name.



34
35
36
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-4431c6a28a93/lib/rdf/vocab/rss.rb', line 34

def name
  @name
end

#textinputRDF::Vocabulary::Term (readonly)

An RSS text input.



18
19
20
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-4431c6a28a93/lib/rdf/vocab/rss.rb', line 18

def textinput
  @textinput
end

#titleRDF::Vocabulary::Term (readonly)

A descriptive title for the channel.



38
39
40
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-4431c6a28a93/lib/rdf/vocab/rss.rb', line 38

def title
  @title
end

#urlRDF::Vocabulary::Term (readonly)

The URL of the image to used in the 'src' attribute of the channel's image tag when rendered as HTML.



42
43
44
# File 'vendor/bundler/ruby/2.7.0/bundler/gems/rdf-vocab-4431c6a28a93/lib/rdf/vocab/rss.rb', line 42

def url
  @url
end