Class: RailsAiBridge::Tools::SearchCode::RubySearch::SearchParams

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_ai_bridge/tools/search_code/ruby_search.rb

Overview

Value object wrapping validated search parameters.

Instance Attribute Summary collapse

Instance Attribute Details

#file_typeObject

Returns the value of attribute file_type

Returns:

  • (Object)

    the current value of file_type



9
10
11
# File 'lib/rails_ai_bridge/tools/search_code/ruby_search.rb', line 9

def file_type
  @file_type
end

#max_resultsObject

Returns the value of attribute max_results

Returns:

  • (Object)

    the current value of max_results



9
10
11
# File 'lib/rails_ai_bridge/tools/search_code/ruby_search.rb', line 9

def max_results
  @max_results
end

#patternObject

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



9
10
11
# File 'lib/rails_ai_bridge/tools/search_code/ruby_search.rb', line 9

def pattern
  @pattern
end

#rootObject

Returns the value of attribute root

Returns:

  • (Object)

    the current value of root



9
10
11
# File 'lib/rails_ai_bridge/tools/search_code/ruby_search.rb', line 9

def root
  @root
end

#search_pathObject

Returns the value of attribute search_path

Returns:

  • (Object)

    the current value of search_path



9
10
11
# File 'lib/rails_ai_bridge/tools/search_code/ruby_search.rb', line 9

def search_path
  @search_path
end