round_poly

round_poly(canv, xy, radii, opts) Instance Public methods

execute

execute() Instance Public methods

index

index(value, selector = :all) â [row, column]index(selector = :all){ block } â [row, column]index(selector = :all) â an_enumerator Instance Public methods The index method is specialized to return the index as [row, column] It also accepts an optional selector argument, see each for details. Matrix[ [1,2], [3,4] ].index(&:even?) # => [0, 1] Matrix[ [1,1], [1,1] ].index(1, :strict_lower) # => [1, 0] find_index

writable_real?

File.writable_real?(file_name) â true or false Class Public methods Returns true if the named file is writable by the real user id of this process.

empty?

empty?() Instance Public methods Is the ListItem empty?

take_while

enum.take_while { |arr| block } â arrayenum.take_while â an_enumerator Instance Public methods Passes elements to the block until the block returns nil or false, then stops iterating and returns an array of all prior elements. If no block is given, an enumerator is returned instead. a = [1, 2, 3, 4, 5, 0] a.take_while { |i| i < 3 } #=> [1, 2]

addtag_all

addtag_all(tagOrId) Instance Public methods

check_insecure_method

check_insecure_method(obj, msg_id) Instance Public methods Check that a method is callable via dRuby. obj is the object we want to invoke the method on. msg_id is the method name, as a Symbol. If the method is an insecure method (see insecure_method?) a SecurityError is thrown. If the method is private or undefined, a NameError is thrown.

set_list_type

set_list_type(val) Instance Public methods Also aliased as: list_type=

get_frame

get_frame(page, &b) Instance Public methods