perforation_invoke

perforation_invoke() Instance Public methods

insert

str.insert(index, other_str) â str Instance Public methods Inserts other_str before the character at the given index, modifying str. Negative indices count from the end of the string, and insert after the given character. The intent is insert aString so that it starts at the given index. "abcd".insert(0, 'X') #=> "Xabcd" "abcd".insert(3, 'X') #=> "abcXd" "abcd".insert(4, 'X') #=> "abcdX" "abcd".insert(-3, 'X') #=> "abXcd" "abcd".insert(-1, 'X') #=> "a

dir

dir(*args) Instance Public methods Alias for: list

caller_orig

caller_orig(lev, n) Instance Public methods Alias for: caller

_get_all_subst_keys

_get_all_subst_keys() Class Public methods

end_sequence

end_sequence() Instance Public methods Called when a sequence ends.

byteslice

str.byteslice(fixnum) â new_str or nilstr.byteslice(fixnum, fixnum) â new_str or nilstr.byteslice(range) â new_str or nil Instance Public methods Byte ReferenceâIf passed a single Fixnum, returns a substring of one byte at that position. If passed two Fixnum objects, returns a substring starting at the offset given by the first, and a length given by the second. If given a Range, a substring containing bytes at offsets given by the range is returned. In all

concat

str.concat(integer) â strstr.concat(obj) â str Instance Public methods AppendâConcatenates the given object to str. If the object is a Integer, it is considered as a codepoint, and is converted to a character before concatenation. a = "hello " a << "world" #=> "hello world" a.concat(33) #=> "hello world!"

package_version

package_version() Class Public methods

winfo_mapped?

winfo_mapped?() Instance Public methods