aboutsummaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorPiotr Niełacny <piotr.nielacny@gmail.com>2012-09-13 08:38:34 +0200
committerPiotr Niełacny <piotr.nielacny@gmail.com>2012-09-13 08:42:00 +0200
commit71993c6f9770b1350aa41fe8c68f1dd2c7800403 (patch)
tree515425716f332400ee5df8fb6515cc0c26ce6a0a /ci
parent2c690a0f5b36896da9b003d4e24159a27ebd7f71 (diff)
downloadrails-71993c6f9770b1350aa41fe8c68f1dd2c7800403.tar.gz
rails-71993c6f9770b1350aa41fe8c68f1dd2c7800403.tar.bz2
rails-71993c6f9770b1350aa41fe8c68f1dd2c7800403.zip
Change ActiveSupport::Deprecation to class.
ActiveSupport::Deprecation is now a class rather than a module. You can get instance of ActiveSupport::Deprecation calling #instance method. ActiveSupport::Deprecation.instance But when you need to get new object od ActiveSupport::Deprecation you need to just call #new. @instance = ActiveSupport::Deprecation.new Since you can create a new object, you can change the version and the name of the library where the deprecator concerned. ActiveSupport::Deprecation.new('2.0', 'MyGem') If you need use another deprecator instance you can select it in the options of deprecate method. deprecate :method, :deprecator => deprecator_instance Documentation has been updated.
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions