Class: LiterLlm::SearchResult

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSearchResult

Returns a new instance of SearchResult.

Parameters:

  • title: (String)
  • url: (String)
  • snippet: (String)
  • date: (String)


466
# File 'sig/types.rbs', line 466

def initialize: (title: String, url: String, snippet: String, ?date: String) -> void

Instance Attribute Details

#dateString (readonly)

Returns the value of attribute date.

Returns:

  • (String)


464
465
466
# File 'sig/types.rbs', line 464

def date
  @date
end

#snippetString (readonly)

Returns the value of attribute snippet.

Returns:

  • (String)


463
464
465
# File 'sig/types.rbs', line 463

def snippet
  @snippet
end

#titleString (readonly)

Returns the value of attribute title.

Returns:

  • (String)


461
462
463
# File 'sig/types.rbs', line 461

def title
  @title
end

#urlString (readonly)

Returns the value of attribute url.

Returns:

  • (String)


462
463
464
# File 'sig/types.rbs', line 462

def url
  @url
end