Class: DuckSearch::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/duck_search/result.rb

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



2
3
4
# File 'lib/duck_search/result.rb', line 2

def description
  @description
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



2
3
4
# File 'lib/duck_search/result.rb', line 2

def title
  @title
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



2
3
4
# File 'lib/duck_search/result.rb', line 2

def url
  @url
end