enumerate

enumerate(tag, options={}) Class Public methods Prints all annotations with tag tag under the root directories app, config, db, lib, and test (recursively). Additional directories may be added using a comma-delimited list set using ENV['SOURCE_ANNOTATION_DIRECTORIES']. Directories may also be explicitly set using the :dirs key in options. SourceAnnotationExtractor.enumerate 'TODO|FIXME', dirs: %w(app lib), tag: true If options has a :tag flag, it will be passed to each annotation'

listen

listen(address, port) Instance Public methods Adds listeners from address and port to the server. See WEBrick::Utils.create_listeners for details.

start_job

start_job(command = nil) Instance Public methods start a job

save_ps

save_ps(filename) Class Public methods Alias for: saveps

puts

puts(exps) Instance Public methods Concatenates all expressions in this printer, separated by newlines. An Encoding::CompatibilityError is raised of the given exps's encoding doesn't match the previous expression evaluated.

find_above

find_above(target) Instance Public methods

get_one_optional_argument

get_one_optional_argument() Instance Public methods Get a single optional argument from the command line. If more than one argument is given, return only the first. Return nil if none are given.

detach

detach(*items) Instance Public methods

gets

ARGF.gets(sep=$/) â stringARGF.gets(limit) â stringARGF.gets(sep, limit) â string Instance Public methods Returns the next line from the current file in ARGF. By default lines are assumed to be separated by +$/+; to use a different character as a separator, supply it as a String for the sep argument. The optional limit argument specifies how many characters of each line to return. By default all characters are returned.

real?

num.real? â true or false Instance Public methods Returns true if num is a Real (i.e. non Complex).