gets

gets() Instance Public methods Alias for: shift

group_sub

group_sub() Instance Public methods

parsetext

parsetext(text) Class Public methods

skip_optional_do_after_expression

skip_optional_do_after_expression() Instance Public methods while, until, and for have an optional do

execute

execute(args=nil) Instance Public methods Execute the actions associated with this task.

nl

nl() Class Public methods Enable the underlying display device to translate the return key into newline on input, and whether it translates newline into return and line-feed on output (in either case, the call ::addch('n') does the equivalent of return and line feed on the virtual screen). Initially, these translations do occur. If you disable them using ::nonl, curses will be able to make better use of the line-feed capability, resulting in faster cursor motion. Also, curses will

world_readable?

File.world_readable?(file_name) â fixnum or nil Instance Public methods If file_name is readable by others, returns an integer representing the file permission bits of file_name. Returns nil otherwise. The meaning of the bits is platform dependent; on Unix systems, see stat(2). file_name can be an IO object. File.world_readable?("/etc/passwd") #=> 420 m = File.world_readable?("/etc/passwd") sprintf("%o", m) #=> "644"

new

new() Class Public methods

selection_get

selection_get() Instance Public methods Alias for: selection

start_color

start_color() Class Public methods Initializes the color attributes, for terminals that support it. This must be called, in order to use color attributes. It is good practice to call it just after ::init_screen