Method: ActiveSupport::Deprecation::Behavior#behavior

Defined in:
lib/active_support/deprecation/behaviors.rb

#behaviorObject

Returns the current behavior or if one isn’t set, defaults to :stderr.



74
75
76
# File 'lib/active_support/deprecation/behaviors.rb', line 74

def behavior
  @behavior ||= [DEFAULT_BEHAVIORS[:stderr]]
end