Class: Warning::buffer

Inherits:
String show all
Defined in:
error.c

Instance Method Summary collapse

Methods inherited from String

#%, #*, #+, #+@, #-@, #<<, #<=>, #==, #===, #=~, #[], #[]=, #ascii_only?, #b, #bytes, #bytesize, #byteslice, #capitalize, #capitalize!, #casecmp, #casecmp?, #center, #chars, #chomp, #chomp!, #chop, #chop!, #chr, #clear, #codepoints, #concat, #count, #crypt, #delete, #delete!, #delete_prefix, #delete_prefix!, #delete_suffix, #delete_suffix!, #downcase, #downcase!, #dump, #each_byte, #each_char, #each_codepoint, #each_grapheme_cluster, #each_line, #empty?, #encode, #encode!, #encoding, #end_with?, #eql?, #force_encoding, #freeze, #getbyte, #grapheme_clusters, #gsub, #gsub!, #hash, #hex, #include?, #index, #initialize, #initialize_copy, #insert, #inspect, #intern, #length, #lines, #ljust, #lstrip, #lstrip!, #match, #match?, #next, #next!, #oct, #ord, #partition, #prepend, #replace, #reverse, #reverse!, #rindex, #rjust, #rpartition, #rstrip, #rstrip!, #scan, #scrub, #scrub!, #setbyte, #size, #slice, #slice!, #split, #squeeze, #squeeze!, #start_with?, #strip, #strip!, #sub, #sub!, #succ, #succ!, #sum, #swapcase, #swapcase!, #to_c, #to_f, #to_i, #to_r, #to_s, #to_str, #to_sym, #tr, #tr!, #tr_s, #tr_s!, try_convert, #undump, #unicode_normalize, #unicode_normalize!, #unicode_normalized?, #upcase, #upcase!, #upto, #valid_encoding?

Methods included from Comparable

#<, #<=, #==, #>, #>=, #between?, #clamp

Constructor Details

This class inherits a constructor from String

Instance Method Details

#write(*args) ⇒ Object

:nodoc:



400
401
402
403
404
405
406
407
# File 'error.c', line 400

static VALUE
warning_write(int argc, VALUE *argv, VALUE buf)
{
    while (argc-- > 0) {
	rb_str_append(buf, *argv++);
    }
    return buf;
}