diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 15:37:05 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 15:55:28 -0300 |
commit | 21f02f34851f58103fc03e852e0315afdb6f74e0 (patch) | |
tree | 612291b3312a660fc3f520f34df687b7771b0140 /activesupport/lib/active_support/dependencies.rb | |
parent | 2bf8b5b6ec4df3866a7a9526e47af15c63b97ac1 (diff) | |
download | rails-21f02f34851f58103fc03e852e0315afdb6f74e0.tar.gz rails-21f02f34851f58103fc03e852e0315afdb6f74e0.tar.bz2 rails-21f02f34851f58103fc03e852e0315afdb6f74e0.zip |
Remove some comments about Ruby 1.9 behaviors
Diffstat (limited to 'activesupport/lib/active_support/dependencies.rb')
-rw-r--r-- | activesupport/lib/active_support/dependencies.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb index ff8c0fd310..e03e7c30d8 100644 --- a/activesupport/lib/active_support/dependencies.rb +++ b/activesupport/lib/active_support/dependencies.rb @@ -421,7 +421,7 @@ module ActiveSupport #:nodoc: end def load_once_path?(path) - # to_s works around a ruby1.9 issue where String#starts_with?(Pathname) + # to_s works around a ruby issue where String#starts_with?(Pathname) # will raise a TypeError: no implicit conversion of Pathname into String autoload_once_paths.any? { |base| path.starts_with? base.to_s } end |