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

add

add(k, v) Instance Public methods Alias for: []=

autoload_once

autoload_once() Instance Public methods

parse_meta_attr

parse_meta_attr(context, single, tk, comment) Instance Public methods Parses a meta-programmed attribute and creates an RDoc::Attr. To create foo and bar attributes on class C with comment âMy attributesâ: class C ## # :attr: # # My attributes my_attr :foo, :bar end To create a foo attribute on class C with comment âMy attributeâ: class C ## # :attr: foo # # My attribute my_attr :foo, :bar end

to_datetime

t.to_datetime â datetime Instance Public methods Returns a DateTime object which denotes self.

load

load(arg0) Instance Public methods BOOL load load document from the specified XML source VARIANT arg0 --- xmlSource [IN]