Class: Crawlberg::ArticleMetadata
- Inherits:
-
Object
- Object
- Crawlberg::ArticleMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#author ⇒ String?
readonly
Returns the value of attribute author.
-
#modified_time ⇒ String?
readonly
Returns the value of attribute modified_time.
-
#published_time ⇒ String?
readonly
Returns the value of attribute published_time.
-
#section ⇒ String?
readonly
Returns the value of attribute section.
-
#tags ⇒ Array[String]
readonly
Returns the value of attribute tags.
Instance Method Summary collapse
-
#initialize ⇒ ArticleMetadata
constructor
A new instance of ArticleMetadata.
Constructor Details
#initialize ⇒ ArticleMetadata
Returns a new instance of ArticleMetadata.
29 |
# File 'sig/types.rbs', line 29
def initialize: (?published_time: String, ?modified_time: String, ?author: String, ?section: String, ?tags: Array[String]) -> void
|
Instance Attribute Details
#author ⇒ String? (readonly)
Returns the value of attribute author.
25 26 27 |
# File 'sig/types.rbs', line 25 def @author end |
#modified_time ⇒ String? (readonly)
Returns the value of attribute modified_time.
24 25 26 |
# File 'sig/types.rbs', line 24 def modified_time @modified_time end |
#published_time ⇒ String? (readonly)
Returns the value of attribute published_time.
23 24 25 |
# File 'sig/types.rbs', line 23 def published_time @published_time end |
#section ⇒ String? (readonly)
Returns the value of attribute section.
26 27 28 |
# File 'sig/types.rbs', line 26 def section @section end |
#tags ⇒ Array[String] (readonly)
Returns the value of attribute tags.
27 28 29 |
# File 'sig/types.rbs', line 27 def @tags end |