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)


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

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)


791
792
793
# File 'sig/types.rbs', line 791

def date
  @date
end

#snippetString (readonly)

Returns the value of attribute snippet.

Returns:

  • (String)


790
791
792
# File 'sig/types.rbs', line 790

def snippet
  @snippet
end

#titleString (readonly)

Returns the value of attribute title.

Returns:

  • (String)


788
789
790
# File 'sig/types.rbs', line 788

def title
  @title
end

#urlString (readonly)

Returns the value of attribute url.

Returns:

  • (String)


789
790
791
# File 'sig/types.rbs', line 789

def url
  @url
end