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.
476 |
# File 'sig/types.rbs', line 476
def initialize: (title: String, url: String, snippet: String, ?date: String) -> void
|
Instance Attribute Details
#date ⇒ String? (readonly)
Returns the value of attribute date.
474 475 476 |
# File 'sig/types.rbs', line 474 def date @date end |
#snippet ⇒ String (readonly)
Returns the value of attribute snippet.
473 474 475 |
# File 'sig/types.rbs', line 473 def snippet @snippet end |
#title ⇒ String (readonly)
Returns the value of attribute title.
471 472 473 |
# File 'sig/types.rbs', line 471 def title @title end |
#url ⇒ String (readonly)
Returns the value of attribute url.
472 473 474 |
# File 'sig/types.rbs', line 472 def url @url end |