valid_encoding?

str.valid_encoding? â true or false Instance Public methods Returns true for a string which encoded correctly. "\xc2\xa1".force_encoding("UTF-8").valid_encoding? #=> true "\xc2".force_encoding("UTF-8").valid_encoding? #=> false "\x80".force_encoding("UTF-8").valid_encoding? #=> false

inflections

inflections(locale = :en) Instance Public methods Yields a singleton instance of Inflector::Inflections so you can specify additional inflector rules. If passed an optional locale, rules for other languages can be specified. If not specified, defaults to :en. Only rules for English are provided. ActiveSupport::Inflector.inflections(:en) do |inflect| inflect.uncountable 'rails' end

setquota

setquota(mailbox, quota) Instance Public methods Sends a SETQUOTA command along with the specified mailbox and quota. If quota is nil, then quota will be unset for that mailbox. Typically one needs to be logged in as server admin for this to work. The IMAP quota commands are described in [RFC-2087].

value

value() Instance Public methods

embPlotMove2

embPlotMove2(w, x, y) Instance Public methods

slaves

slaves(all = false) Class Public methods

serve

serve() Instance Public methods Call this after you have added all you handlers to the server. This method starts the server to listen for XML-RPC requests and answer them.

malloc

Fiddle::Pointer.malloc(size, freefunc = nil) => fiddle pointer instance Class Public methods Allocate size bytes of memory and associate it with an optional freefunc that will be called when the pointer is garbage collected. freefunc must be an address pointing to a function or an instance of Fiddle::Function

invoke

invoke(index) Instance Public methods

export

dh.to_pem â aString Instance Public methods Encodes this DH to its PEM encoding. Note that any existing per-session public/private keys will not get encoded, just the Diffie-Hellman parameters will be encoded. to_pem to_s