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.
463 |
# File 'sig/types.rbs', line 463
def initialize: (title: String, url: String, snippet: String, ?date: String) -> void
|
Instance Attribute Details
#date ⇒ String (readonly)
Returns the value of attribute date.
461 462 463 |
# File 'sig/types.rbs', line 461 def date @date end |
#snippet ⇒ String (readonly)
Returns the value of attribute snippet.
460 461 462 |
# File 'sig/types.rbs', line 460 def snippet @snippet end |
#title ⇒ String (readonly)
Returns the value of attribute title.
458 459 460 |
# File 'sig/types.rbs', line 458 def title @title end |
#url ⇒ String (readonly)
Returns the value of attribute url.
459 460 461 |
# File 'sig/types.rbs', line 459 def url @url end |