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)


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

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

Instance Attribute Details

#dateString (readonly)

Returns the value of attribute date.

Returns:

  • (String)


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

def date
  @date
end

#snippetString (readonly)

Returns the value of attribute snippet.

Returns:

  • (String)


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

def snippet
  @snippet
end

#titleString (readonly)

Returns the value of attribute title.

Returns:

  • (String)


458
459
460
# File 'sig/types.rbs', line 458

def title
  @title
end

#urlString (readonly)

Returns the value of attribute url.

Returns:

  • (String)


459
460
461
# File 'sig/types.rbs', line 459

def url
  @url
end