ends_width => ends_with

This commit is contained in:
Vijay Dev
2011-01-14 22:10:22 +05:30
parent 5f5e3b7e23
commit 31767b0032

View File

@@ -1264,7 +1264,7 @@ Active Support adds that functionality to <tt>%</tt> in previous versions of Rub
NOTE: Defined in +active_support/core_ext/string/interpolation.rb+.
h4. +starts_with?+ and +ends_width?+
h4. +starts_with?+ and +ends_with?+
Active Support defines 3rd person aliases of +String#start_with?+ and +String#end_with?+: