diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-06-04 15:06:32 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-06-04 15:06:32 -0500 |
commit | 5fe28789731fd521d5a250ac7be21da45dae147d (patch) | |
tree | 52d11356d414a6d7cdf830467c7f71cc00d43b1f /activesupport/lib | |
parent | 6e85f14817cddb53875e572770bf3739f82e155f (diff) | |
download | rails-5fe28789731fd521d5a250ac7be21da45dae147d.tar.gz rails-5fe28789731fd521d5a250ac7be21da45dae147d.tar.bz2 rails-5fe28789731fd521d5a250ac7be21da45dae147d.zip |
Renamed StringQuestioneer to StringInquirer.
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support.rb | 2 | ||||
-rw-r--r-- | activesupport/lib/active_support/string_inquirer.rb (renamed from activesupport/lib/active_support/string_questioneer.rb) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb index 2b418a1bb7..1a8603e892 100644 --- a/activesupport/lib/active_support.rb +++ b/activesupport/lib/active_support.rb @@ -43,7 +43,7 @@ require 'active_support/ordered_hash' require 'active_support/ordered_options' require 'active_support/option_merger' -require 'active_support/string_questioneer' +require 'active_support/string_inquirer' require 'active_support/values/time_zone' require 'active_support/duration' diff --git a/activesupport/lib/active_support/string_questioneer.rb b/activesupport/lib/active_support/string_inquirer.rb index 666f3c6018..65545748df 100644 --- a/activesupport/lib/active_support/string_questioneer.rb +++ b/activesupport/lib/active_support/string_inquirer.rb @@ -1,5 +1,5 @@ module ActiveSupport - class StringQuestioneer < String + class StringInquirer < String def method_missing(method_name, *arguments) if method_name.to_s.ends_with?("?") self == method_name.to_s[0..-2] |