Flowdock
method

add_whiner

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: NilClass
add_whiner(klass) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/whiny_nil.rb, line 30
  def self.add_whiner(klass)
    methods = klass.public_instance_methods - public_instance_methods
    class_name = klass.name
    methods.each { |method| METHOD_CLASS_MAP[method.to_sym] = class_name }
  end
Register or log in to add new notes.