Permalink
Browse files

minor fixes

  • Loading branch information...
1 parent 6e83330 commit ffb70cf256e25965230af0e15ccb85e6e9f80bac @vijaydev vijaydev committed May 7, 2011
@@ -1,6 +1,5 @@
class String
- # Enable more predictable duck-typing on String-like classes. See
- # Object#acts_like?.
+ # Enable more predictable duck-typing on String-like classes. See <tt>Object#acts_like?</tt>.
def acts_like_string?
true
end
@@ -1,5 +1,5 @@
class String
- # The inverse of String#include?. Returns true if the string does not include the other string.
+ # The inverse of <tt>String#include?</tt>. Returns true if the string does not include the other string.
def exclude?(string)
!include?(string)
end
@@ -1,7 +1,7 @@
require 'active_support/string_inquirer'
class String
- # Wraps the current string in the ActiveSupport::StringInquirer class,
+ # Wraps the current string in the <tt>ActiveSupport::StringInquirer</tt> class,
# which gives you a prettier way to test for equality. Example:
#
# env = "production".inquiry

0 comments on commit ffb70cf

Please sign in to comment.