chars() Instance Public methods This is a deprecated alias for each_char.
bytes() Instance Public methods This is a deprecated alias for each_byte.
ARGF.binmode? â true or false Instance Public methods Returns true if +ARGF+ is being read in binary mode; false otherwise. (To enable binary mode use +ARGF.binmode+. For example: ARGF.binmode? #=> false ARGF.binmode ARGF.binmode? #=> true
ARGF.binmode â ARGF Instance Public methods Puts ARGF into binary mode. Once a stream is in binary mode, it cannot be reset to non-binary mode. This option has the following effects: Newline conversion is disabled. Encoding conversion is disabled. Content is treated as ASCII-8BIT.
ARGF.argv â ARGV Instance Public methods Returns the ARGV array, which contains the arguments passed to your script, one per element. For example: $ ruby argf.rb -v glark.txt ARGF.argv #=> ["-v", "glark.txt"]
stop() Instance Public methods
reverser() Instance Public methods Oscillation handler. This detects whether to reverse the direction of the wave by checking to see if the peak of the wave has moved off the screen (whose size we know already.)
move() Instance Public methods animation control
basicMotion() Instance Public methods Basic motion handler. Given what direction the wave is travelling in, it advances the y coordinates in the coordinate-list one step in that direction.
new(frame, dir=:left) Class Public methods
Page 2266 of 2275