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.
793 |
# File 'sig/types.rbs', line 793
def initialize: (title: String, url: String, snippet: String, ?date: String) -> void
|
Instance Attribute Details
#date ⇒ String? (readonly)
Returns the value of attribute date.
791 792 793 |
# File 'sig/types.rbs', line 791 def date @date end |
#snippet ⇒ String (readonly)
Returns the value of attribute snippet.
790 791 792 |
# File 'sig/types.rbs', line 790 def snippet @snippet end |
#title ⇒ String (readonly)
Returns the value of attribute title.
788 789 790 |
# File 'sig/types.rbs', line 788 def title @title end |
#url ⇒ String (readonly)
Returns the value of attribute url.
789 790 791 |
# File 'sig/types.rbs', line 789 def url @url end |