Class
String
In:
lib/backports/rails/string.rb
lib/backports/force/string_length.rb
lib/backports/1.9.3/string/prepend.rb
lib/backports/1.9.3/string/byteslice.rb
lib/backports/1.9.1/string/ord.rb
lib/backports/1.9.1/string/codepoints.rb
lib/backports/1.9.1/string/clear.rb
lib/backports/1.9.1/string/chr.rb
lib/backports/1.9.1/string/ascii_only.rb
lib/backports/1.8.7/string/upto.rb
lib/backports/1.8.7/string/start_with.rb
lib/backports/1.8.7/string/rpartition.rb
lib/backports/1.8.7/string/partition.rb
lib/backports/1.8.7/string/end_with.rb
lib/backports/1.8.7/string/each_char.rb
Parent:
Object
encoding: utf-8
Methods
ascii_only?
byteslice
camelize
chr
clear
codepoints
constantize
dasherize
demodulize
each_char
end_with?
length
ord
partition_with_new_meaning
prepend
rpartition
start_with?
try_convert
underscore
upto_with_exclusive
External Aliases
chars
->
self
Public Class methods
try_convert
(x)
Public Instance methods
ascii_only?
()
byteslice
(start, len = Backports::Undefined)
camelize
(first_letter = :upper)
Standard in rails. See official
documentation
chr
()
clear
()
codepoints
() {|cp| ...}
constantize
()
Standard in rails. See official
documentation
dasherize
()
Standard in rails. See official
documentation
demodulize
()
Standard in rails. See official
documentation
each_char
() {|c| ...}
end_with?
(*suffixes)
length
()
ord
()
partition_with_new_meaning
(pattern = Backports::Undefined) {|c| ...}
prepend
(other_str)
rpartition
(pattern)
start_with?
(*prefixes)
underscore
()
Standard in rails. See official
documentation
upto_with_exclusive
(to, excl=false) {|s| ...}
[Validate]