Class: LiterLlm::SearchResult
- Inherits:
-
Object
- Object
- LiterLlm::SearchResult
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#date ⇒ String
readonly
Returns the value of attribute date.
-
#snippet ⇒ String
readonly
Returns the value of attribute snippet.
-
#title ⇒ String
readonly
Returns the value of attribute title.
-
#url ⇒ String
readonly
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ SearchResult
constructor
A new instance of SearchResult.
Constructor Details
#initialize ⇒ SearchResult
Returns a new instance of SearchResult.
466 |
# File 'sig/types.rbs', line 466
def initialize: (title: String, url: String, snippet: String, ?date: String) -> void
|
Instance Attribute Details
#date ⇒ String (readonly)
Returns the value of attribute date.
464 465 466 |
# File 'sig/types.rbs', line 464 def date @date end |
#snippet ⇒ String (readonly)
Returns the value of attribute snippet.
463 464 465 |
# File 'sig/types.rbs', line 463 def snippet @snippet end |
#title ⇒ String (readonly)
Returns the value of attribute title.
461 462 463 |
# File 'sig/types.rbs', line 461 def title @title end |
#url ⇒ String (readonly)
Returns the value of attribute url.
462 463 464 |
# File 'sig/types.rbs', line 462 def url @url end |