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)


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

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

Instance Attribute Details

#dateString? (readonly)

Returns the value of attribute date.

Returns:

  • (String, nil)


474
475
476
# File 'sig/types.rbs', line 474

def date
  @date
end

#snippetString (readonly)

Returns the value of attribute snippet.

Returns:

  • (String)


473
474
475
# File 'sig/types.rbs', line 473

def snippet
  @snippet
end

#titleString (readonly)

Returns the value of attribute title.

Returns:

  • (String)


471
472
473
# File 'sig/types.rbs', line 471

def title
  @title
end

#urlString (readonly)

Returns the value of attribute url.

Returns:

  • (String)


472
473
474
# File 'sig/types.rbs', line 472

def url
  @url
end