when_invoked

when_invoked(&block) Instance Public methods Call the given block when invoked. Normal command invocations just executes the execute method of the command. Specifying an invocation block allows the test methods to override the normal action of a command to determine that it has been invoked correctly.

previous

previous(index = nil) Instance Public methods

attlistdecl

attlistdecl(element, pairs, contents) Instance Public methods If a doctype includes an ATTLIST declaration, it will cause this method to be called. The content is the declaration itself, unparsed. EG, <!ATTLIST el attr CDATA #REQUIRED> will come to this method as âel attr CDATA #REQUIREDâ. This is the same for all of the .*decl methods.

window

window() Instance Public methods

each

each(&block) Instance Public methods

cache_file

cache_file() Instance Public methods Returns the full path to the cached gem for this spec.

hscroll

hscroll(mode, wrap_mode="char") Instance Public methods

gravity=

gravity=(direction) Instance Public methods

each_value

hsh.each_value {| value | block } â hshhsh.each_value â an_enumerator Instance Public methods Calls block once for each key in hsh, passing the value as a parameter. If no block is given, an enumerator is returned instead. h = { "a" => 100, "b" => 200 } h.each_value {|value| puts value } produces: 100 200

update

digest_obj.update(string) â digest_obj Instance Public methods Updates the digest using a given string and returns self. The update() method and the left-shift operator are overridden by each implementation subclass. (One should be an alias for the other)