Class: Crawlberg::ArticleMetadata
- Inherits:
-
Object
- Object
- Crawlberg::ArticleMetadata
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#author ⇒ String?
Returns the value of attribute author.
-
#modified_time ⇒ String?
Returns the value of attribute modified_time.
-
#published_time ⇒ String?
Returns the value of attribute published_time.
-
#section ⇒ String?
Returns the value of attribute section.
-
#tags ⇒ Array[String]?
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.
312 |
# File 'sig/types.rbs', line 312
def initialize: (?published_time: String, ?modified_time: String, ?author: String, ?section: String, ?tags: Array[String]) -> void
|
Instance Attribute Details
#author ⇒ String?
Returns the value of attribute author.
308 309 310 |
# File 'sig/types.rbs', line 308 def @author end |
#modified_time ⇒ String?
Returns the value of attribute modified_time.
307 308 309 |
# File 'sig/types.rbs', line 307 def modified_time @modified_time end |
#published_time ⇒ String?
Returns the value of attribute published_time.
306 307 308 |
# File 'sig/types.rbs', line 306 def published_time @published_time end |
#section ⇒ String?
Returns the value of attribute section.
309 310 311 |
# File 'sig/types.rbs', line 309 def section @section end |
#tags ⇒ Array[String]?
Returns the value of attribute tags.
310 311 312 |
# File 'sig/types.rbs', line 310 def @tags end |