class String
Ruby on Rails 2.3.18
Since v2.2.3Enhance the String class with a XML escaped character version of to_s.
Extension for String class. This feature is included in Ruby 1.9 or later but not occur TypeError.
String#% method which accept “named argument”. The translator can know the meaning of the msgids using “named argument” instead of %s/%d style.
Inherits from
Constants
Methods (defined here)
- # %
- # as_str
- # html_safe
- # html_safe?
- # original_xs
- # to_xs
Used by
Subclasses (4)
Methods (inherited)
From Object (37)
- # acts_like?
- # app
- # as_json
- # blank?
- # class_eval
- # create
- # create_fixtures
- # destroy
- # duplicable?
- # edit
- # find_cmd
- # helper
- # html_safe?
- # index
- # instance_exec
- # instance_variable_defined?
- # instance_variable_names
- # message
- # metaclass
- # new_session
- # presence
- # present?
- # reload!
- # returning
- # singleton_class
- # tap
- # to_json
- # to_param
- # to_query
- # try
- # unescape
- # update
- # with_options
- self. blank_slate_method_added
- self. find_hidden_method
- self. lookup_missing_generator
- self. method_added