class

String

v2.3.8 - Show latest stable - Superclass: Object

No documentation available for this class.

Included modules

  • ActiveSupport::CoreExtensions::String::Access
  • ActiveSupport::CoreExtensions::String::Behavior
  • ActiveSupport::CoreExtensions::String::Conversions
  • ActiveSupport::CoreExtensions::String::Filters
  • ActiveSupport::CoreExtensions::String::Inflections
  • ActiveSupport::CoreExtensions::String::Iterators
  • ActiveSupport::CoreExtensions::String::Multibyte
  • ActiveSupport::CoreExtensions::String::StartsEndsWith

Files

  • activesupport/lib/active_support/core_ext/object/blank.rb
  • activesupport/lib/active_support/core_ext/string.rb
  • activesupport/lib/active_support/core_ext/string/bytesize.rb
  • activesupport/lib/active_support/core_ext/string/output_safety.rb
  • activesupport/lib/active_support/core_ext/string/xchar.rb
  • activesupport/lib/active_support/json/encoders/string.rb

1Note

constantize

eric_programmer ยท Jan 14, 20092 thanks

@ncancelliere - Instead use constantize which is provided as part of ActiveSupport. It is much easier. So:

mystring.constantize