build_app

build_app(routes = nil) Class Public methods

license

license() Instance Public methods Singular accessor for licenses

find_first_recursive

find_first_recursive() Instance Public methods Find (and return) first subnode (recursively) for which the block evaluates to true. Returns nil if none was found.

size

size() Instance Public methods Returns the number of Element children of the parent object. doc = Document.new '<a>sean<b/>elliott<b/>russell<b/></a>' doc.root.size #-> 6, 3 element and 3 text nodes doc.root.elements.size #-> 3

to_p

to_p() Instance Public methods

assert_recognizes

assert_recognizes(expected_options, path, extras={}, msg=nil) Instance Public methods Asserts that the routing of the given path was handled correctly and that the parsed options (given in the expected_options hash) match path. Basically, it asserts that Rails recognizes the route given by expected_options. Pass a hash in the second argument (path) to specify the request method. This is useful for routes requiring a specific HTTP method. The hash should contain a :path with the inc

member?

rng.member?(obj) â true or false Instance Public methods Returns true if obj is an element of the range, false otherwise. If begin and end are numeric, comparison is done according to the magnitude of the values. ("a".."z").include?("g") #=> true ("a".."z").include?("A") #=> false ("a".."z").include?("cc") #=> false

display

display() Instance Public methods Also aliased as: show

join

join(*uris) Instance Public methods Args uris an Array of Strings Description Attempts to parse and merge a set of URIs

select

select(date) Instance Public methods