class RubySearch::Pry::Search
Public Instance Methods
process()
click to toggle source
# File lib/pry_search/commands/search.rb, line 7 def process regexp = Regexp.new(arg_string) results = ::RubySearch::Search.new.grep(regexp) results.each do |file, matches| ::RubySearch::Formatter.new(file, matches, opts).print do |message| output.puts message end end end
Private Instance Methods
options(opt)
click to toggle source
# File lib/pry_search/commands/search.rb, line 19 def options(opt) end