Class: Gitdocs::Search::SearchResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/gitdocs/search.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contextObject

Returns the value of attribute context

Returns:

  • (Object)

    the current value of context



3
4
5
# File 'lib/gitdocs/search.rb', line 3

def context
  @context
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



3
4
5
# File 'lib/gitdocs/search.rb', line 3

def file
  @file
end