Class: MetaSearch::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/meta_search_ext.rb

Overview

This fixes the edge case reported in #2504. There’s no point putting in a pull request to meta_search, as it’s no longer maintained :/

Instance Method Summary collapse

Instance Method Details

#original_repond_to?Object



4
# File 'lib/meta_search_ext.rb', line 4

alias original_repond_to? respond_to?

#respond_to?(method, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
8
9
# File 'lib/meta_search_ext.rb', line 5

def respond_to?(method, include_private = false)
  original_repond_to? method, include_private
rescue
  false
end