Class: RDF::Vocab::RSS
- Inherits:
-
StrictVocabulary
- Object
- RDF::Vocabulary
- StrictVocabulary
- RDF::Vocab::RSS
- 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
-
#channel ⇒ RDF::Vocabulary::Term
readonly
An RSS information channel.
-
#description ⇒ RDF::Vocabulary::Term
readonly
A short text description of the subject.
-
#image ⇒ RDF::Vocabulary::Term
readonly
An RSS image.
-
#item ⇒ RDF::Vocabulary::Term
readonly
An RSS item.
-
#items ⇒ RDF::Vocabulary::Term
readonly
Points to a list of rss:item elements that are members of the subject channel.
-
#link ⇒ RDF::Vocabulary::Term
readonly
The URL to which an HTML rendering of the subject will link.
-
#name ⇒ RDF::Vocabulary::Term
readonly
The text input field's (variable) name.
-
#textinput ⇒ RDF::Vocabulary::Term
readonly
An RSS text input.
-
#title ⇒ RDF::Vocabulary::Term
readonly
A descriptive title for the channel.
-
#url ⇒ RDF::Vocabulary::Term
readonly
The URL of the image to used in the 'src' attribute of the channel's image tag when rendered as HTML.
Method Summary
Methods inherited from StrictVocabulary
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
#channel ⇒ RDF::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 |
#description ⇒ RDF::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 |
#image ⇒ RDF::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 |
#item ⇒ RDF::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 |
#items ⇒ RDF::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 |
#link ⇒ RDF::Vocabulary::Term (readonly)
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 |
#name ⇒ RDF::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 |
#textinput ⇒ RDF::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 |
#title ⇒ RDF::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 |
#url ⇒ RDF::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 |