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 | Attempts to convert the given |
| .new | |
Instance Attribute Summary
::String - Inherited
| #ascii_only? | Returns whether |
| #empty? | Returns whether the length of |
| #valid_encoding? | Returns |
Instance Method Summary
::String - Inherited
| #% | Returns the result of formatting |
| #* | Returns a new string containing |
| #+ | Returns a new string containing |
| #+@ | Returns |
| #-@ | Returns a frozen string equal to |
| #<< | Appends a string representation of |
| #<=> | Compares |
| #== | Returns whether |
| #=== | Alias for String#==. |
| #=~ | When |
| #[] | Returns the substring of |
| #[]= | Returns |
| #append_as_bytes | Concatenates each object in |
| #b | Returns a copy of |
| #byteindex | Returns the 0-based integer index of a substring of |
| #byterindex | Returns the 0-based integer index of a substring of |
| #bytes | Returns an array of the bytes in |
| #bytesize | Returns the count of bytes in |
| #byteslice | Returns a substring of |
| #bytesplice | Replaces target bytes in |
| #capitalize | Returns a string containing the characters in |
| #capitalize! | Like String#capitalize, except that: |
| #casecmp | Ignoring case, 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, except that: |
| #chop | Returns a new string copied from |
| #chop! | Like String#chop, except that: |
| #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 new string that is 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 new string containing the downcased characters in |
| #downcase! | Like String#downcase, except that: |
| #dump | Returns a printable version of |
| #each_byte | With a block given, calls the block with each successive byte from |
| #each_char | With a block given, calls the block with each successive character from |
| #each_codepoint | With a block given, calls the 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 whether |
| #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! | Like String#gsub, except that: |
| #hash | Returns the integer hash value for |
| #hex | Interprets the leading substring of |
| #include? | Returns whether |
| #index | Returns the integer position of the first substring that matches the given argument |
| #initialize | Returns a new String object containing the given |
| #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 | Returns substrings (“lines”) of |
| #ljust | Returns a copy of |
| #lstrip | Returns a copy of |
| #lstrip! | Like String#lstrip, except that: |
| #match | Creates a |
| #match? | Returns whether a match is found for |
| #next | Returns the successor to |
| #next! | Like 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 | Prefixes to |
| #replace | Replaces the contents of |
| #reverse | Returns a new string with the characters from |
| #reverse! | Returns |
| #rindex | Returns the integer position of the last substring that matches the given argument |
| #rjust | Returns a right-justified copy of |
| #rpartition | Returns a 3-element array of substrings of |
| #rstrip | Returns a copy of |
| #rstrip! | Like String#rstrip, except that: |
| #scan | Matches a pattern against |
| #scrub | Returns a copy of |
| #scrub! | Like String#scrub, except that: |
| #setbyte | Sets the byte at zero-based offset |
| #size | Alias for String#length. |
| #slice | Alias for String#[]. |
| #slice! | Like String#[] (and its alias String#slice), except that: |
| #split | Creates an array of substrings by splitting |
| #squeeze | Returns a copy of |
| #squeeze! | Like String#squeeze, except that: |
| #start_with? | Returns whether |
| #strip | Returns a copy of |
| #strip! | Like String#strip, except that: |
| #sub | Returns a copy of self, possibly with a substring replaced. |
| #sub! | Like String#sub, except that: |
| #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 598
static VALUE
warning_write(int argc, VALUE *argv, VALUE buf)
{
while (argc-- > 0) {
rb_str_append(buf, *argv++);
}
return buf;
}