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



6
7
8
# File 'lib/gitdocs/search.rb', line 6

def context
  @context
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



6
7
8
# File 'lib/gitdocs/search.rb', line 6

def file
  @file
end