readbyte

ARGF.readbyte â Fixnum Instance Public methods Reads the next 8-bit byte from ARGF and returns it as a Fixnum. Raises an EOFError after the last byte of the last file has been read. For example: $ echo "foo" > file $ ruby argf.rb file ARGF.readbyte #=> 102 ARGF.readbyte #=> 111 ARGF.readbyte #=> 111 ARGF.readbyte #=> 10 ARGF.readbyte #=> end of file reached (EOFError)

key?

key?(key) Instance Public methods

short_name

short_name() Instance Public methods Alias for: sn

clear

clear() Instance Public methods

basic_word_break_characters=

Readline.basic_word_break_characters = string Class Public methods Sets the basic list of characters that signal a break between words for the completer routine. The default is the characters which break words for completion in Bash: â tn"\'`@$><=;|&{(â. Raises NotImplementedError if the using readline library does not support. Raises SecurityError exception if $SAFE is 4.

install_have_child_element

install_have_child_element(tag_name, uri, occurs, name=nil, type=nil) Instance Public methods Also aliased as: install_have_attribute_element

scan_until

scan_until(pattern) Instance Public methods Scans the string until the pattern is matched. Returns the substring up to and including the end of the match, advancing the scan pointer to that location. If there is no match, nil is returned. s = StringScanner.new("Fri Dec 12 1975 14:39") s.scan_until(/1/) # -> "Fri Dec 1" s.pre_match # -> "Fri Dec " s.scan_until(/XYZ/) # -> nil

expanded_list

expanded_list() Instance Public methods Alias for: exp_state

tag_end

tag_end(name) Instance Public methods Called when the end tag is reached. In the case of <tag/>, #tag_end will be called immidiately after #tag_start @p the name of the tag

namespace_context

namespace_context() Class Public methods