public Method

Initializer.initialize_whiny_nils

Loads support for "whiny nil" (noisy warnings when methods are invoked on nil values) if Configuration#whiny_nils is true.

Source Code

# File initializer.rb, line 310
def initialize_whiny_nils
  require('active_support/whiny_nil') if configuration.whiny_nils
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.