Class: Warning::buffer
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
::String
|
|
Instance Chain:
self,
::String ,
::Comparable
|
|
Inherits: | String |
Defined in: | error.c |
Class Method Summary
::String
- Inherited
.try_convert | If |
.new |
Instance Attribute Summary
::String
- Inherited
#ascii_only? | Returns |
#empty? | Returns |
#valid_encoding? | Returns |
Instance Method Summary
::String
- Inherited
#% | Returns the result of formatting |
#* | Returns a new |
#+ | Returns a new |
#+@ | Returns |
#-@ | Returns a frozen, possibly pre-existing copy of the string. |
#<< | Concatenates |
#<=> | Compares |
#== | Returns |
#=== | Alias for String#==. |
#=~ | Returns the |
#[] | Returns the substring of |
#[]= | Replaces all, some, or none of the contents of |
#append_as_bytes | Concatenates each object in |
#b | Returns a copy of |
#byteindex | Returns the |
#byterindex | Returns the |
#bytes | Returns an array of the bytes in |
#bytesize | Returns the count of bytes (not characters) in |
#byteslice | Returns a substring of |
#bytesplice | Replaces some or all of the content of |
#capitalize | Returns a string containing the characters in |
#capitalize! | Upcases the first character in |
#casecmp | Compares |
#casecmp? | Returns |
#center | Returns a centered copy of |
#chars | Returns an array of the characters in |
#chomp | Returns a new string copied from |
#chomp! | Like String#chomp, but modifies |
#chop | Returns a new string copied from |
#chop! | Like String#chop, but modifies |
#chr | Returns a string containing the first character of |
#clear | Removes the contents of |
#codepoints | Returns an array of the codepoints in |
#concat | Concatenates each object in |
#count | Returns the total number of characters in |
#crypt | Returns the string generated by calling |
#dedup | Alias for String#-@. |
#delete | Returns a copy of |
#delete! | Like String#delete, but modifies |
#delete_prefix | Returns a copy of |
#delete_prefix! | Like String#delete_prefix, except that |
#delete_suffix | Returns a copy of |
#delete_suffix! | Like String#delete_suffix, except that |
#downcase | Returns a string containing the downcased characters in |
#downcase! | Downcases the characters in |
#dump | Returns a printable version of |
#each_byte | Calls the given block with each successive byte from |
#each_char | Calls the given block with each successive character from |
#each_codepoint | Calls the given block with each successive codepoint from |
#each_grapheme_cluster | |
#each_line | With a block given, forms the substrings (???lines???) that are the result of splitting |
#encode | Returns a copy of |
#encode! | Like |
#encoding | Alias for Regexp#encoding. |
#end_with? | Returns whether |
#eql? | Returns |
#force_encoding | Changes the encoding of |
#getbyte | Returns the byte at zero-based |
#grapheme_clusters | Returns an array of the grapheme clusters in |
#gsub | Returns a copy of |
#gsub! | Performs the specified substring replacement(s) on |
#hash | Returns the integer hash value for |
#hex | Interprets the leading substring of |
#include? | Returns |
#index | Returns the integer index of the first match for the given argument, or |
#initialize | Returns a new String that is a copy of |
#initialize_copy | Alias for String#replace. |
#insert | Inserts the given |
#inspect | Returns a printable version of |
#intern | Returns the |
#length | Returns the count of characters (not bytes) in |
#lines | Forms substrings (“lines”) of |
#ljust | Returns a left-justified copy of |
#lstrip | Returns a copy of |
#lstrip! | Like String#lstrip, except that any modifications are made in |
#match | Returns a |
#match? | Returns |
#next | Returns the successor to |
#next! | Equivalent to String#succ, but modifies |
#oct | Interprets the leading substring of |
#ord | Returns the integer ordinal of the first character of |
#partition | Returns a 3-element array of substrings of |
#prepend | Prepends each string in |
#replace | Replaces the contents of |
#reverse | Returns a new string with the characters from |
#reverse! | Returns |
#rindex | Returns the |
#rjust | Returns a right-justified copy of |
#rpartition | Returns a 3-element array of substrings of |
#rstrip | Returns a copy of the receiver with trailing whitespace removed; see |
#rstrip! | Like String#rstrip, except that any modifications are made in |
#scan | Matches a pattern against |
#scrub | Returns a copy of |
#scrub! | Like String#scrub, except that any replacements are made in |
#setbyte | Sets the byte at zero-based |
#size | Alias for String#length. |
#slice | Alias for String#[]. |
#slice! | Removes and returns the substring of |
#split | Returns an array of substrings of |
#squeeze | Returns a copy of |
#squeeze! | Like String#squeeze, but modifies |
#start_with? | Returns whether |
#strip | Returns a copy of the receiver with leading and trailing whitespace removed; see |
#strip! | Like String#strip, except that any modifications are made in |
#sub | Returns a copy of |
#sub! | Replaces the first occurrence (not all occurrences) of the given |
#succ | Alias for String#next. |
#succ! | Alias for String#next!. |
#sum | Returns a basic |
#swapcase | Returns a string containing the characters in |
#swapcase! | Upcases each lowercase character in |
#to_c | Returns |
#to_f | Returns the result of interpreting leading characters in |
#to_i | Returns the result of interpreting leading characters in |
#to_r | Returns the result of interpreting leading characters in |
#to_s | |
#to_str | Alias for String#to_s. |
#to_sym | Alias for String#intern. |
#tr | Returns a copy of |
#tr! | Like String#tr, but modifies |
#tr_s | Like String#tr, but also squeezes the modified portions of the translated string; returns a new string (translated and squeezed). |
#tr_s! | Like String#tr_s, but modifies |
#undump | Returns an unescaped version of |
#unicode_normalize | Returns a copy of |
#unicode_normalize! | Like String#unicode_normalize, except that the normalization is performed on |
#unicode_normalized? | Returns |
#unpack | Extracts data from |
#unpack1 | Like String#unpack, but unpacks and returns only the first extracted object. |
#upcase | Returns a string containing the upcased characters in |
#upcase! | Upcases the characters in |
#upto | With a block given, calls the block with each |
#dup, #freeze |
::Comparable
- Included
#< | Compares two objects based on the receiver’s |
#<= | Compares two objects based on the receiver’s |
#== | Compares two objects based on the receiver’s |
#> | Compares two objects based on the receiver’s |
#>= | Compares two objects based on the receiver’s |
#between? | Returns |
#clamp | In |
Constructor Details
This class inherits a constructor from String
Instance Method Details
#write(*args)
[ GitHub ]# File 'error.c', line 585
static VALUE warning_write(int argc, VALUE *argv, VALUE buf) { while (argc-- > 0) { rb_str_append(buf, *argv++); } return buf; }