Method: RJR::HandlesMethods::ClassMethods#has_handler_for?

Defined in:
lib/rjr/util/handles_methods.rb

#has_handler_for?(handler_method) ⇒ Boolean

Return bool indicating if handler exists for the specified method

Returns:

  • (Boolean)


57
58
59
60
# File 'lib/rjr/util/handles_methods.rb', line 57

def has_handler_for?(handler_method)
  @jr_handlers ||= {}
  @jr_handlers.has_key?(handler_method)
end