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.

_unset_global_var2

_unset_global_var2(var, idx) Class Public methods

bool 2

sockopt.bool => true or false Instance Public methods Returns the data in sockopt as an boolean value. sockopt = Socket::Option.int(:INET, :SOCKET, :KEEPALIVE, 1) p sockopt.bool => true

convert_specials

convert_specials(str, attrs) Instance Public methods Converts special sequences to RDoc attributes

run_in_isolation

run_in_isolation(&blk) Instance Public methods

add_runtime_dependency

add_runtime_dependency(gem, *requirements) Instance Public methods Adds a runtime dependency named gem with requirements to this gem. Usage: spec.add_runtime_dependency 'example', '~> 1.1', '>= 1.1.4' add_dependency