Method: Gitgo::Controllers::Code#grep_opts
- Defined in:
- lib/gitgo/controllers/code.rb
#grep_opts(overrides = {}) ⇒ Object
65 66 67 68 69 70 71 |
# File 'lib/gitgo/controllers/code.rb', line 65 def grep_opts(overrides={}) { :ignore_case => request['ignore_case'] == 'true', :invert_match => request['invert_match'] == 'true', :fixed_strings => request['fixed_strings'] == 'true', }.merge!(overrides) end |