show_rdoc_for_pattern

show_rdoc_for_pattern(pattern, res) Instance Public methods Returns true and prepares http response, if rdoc for the requested gem name pattern was found. The search is based on the file system content, not on the gems metadata. This allows additional documentation folders like 'core' for the ruby core documentation - just put it underneath the main doc folder.

exists?

exists?(preview) Class Public methods Returns true if the preview exists

each_child

each_child(&block) Instance Public methods Alias for: each

accept_paragraph

accept_paragraph(paragraph) Instance Public methods Converts the parts of paragraph to a single entry.

render_to_body

render_to_body(options = {}) Instance Public methods Performs the actual template rendering. :api: public

add_delivery_method

add_delivery_method(symbol, klass, default_options={}) Instance Public methods Adds a new delivery method through the given class using the given symbol as alias and the default options supplied. add_delivery_method :sendmail, Mail::Sendmail, location: '/usr/sbin/sendmail', arguments: '-i -t'

_setup_subst_table

_setup_subst_table(p1, p2, p3 = v3) Class Public methods

ordinalize

ordinalize() Instance Public methods Ordinalize turns a number into an ordinal string used to denote the position in an ordered sequence such as 1st, 2nd, 3rd, 4th. 1.ordinalize # => "1st" 2.ordinalize # => "2nd" 1002.ordinalize # => "1002nd" 1003.ordinalize # => "1003rd" -11.ordinalize # => "-11th" -1001.ordinalize # => "-1001st"

get_instance

get_instance(server, *options) Class Public methods Factory for servlet instances that will handle a request from server using options from the mount point. By default a new servlet instance is created for every call.

[]

dbm[key] â string value or nil Instance Public methods Return a value from the database by locating the key string provided. If the key is not found, returns nil.