set_theme

set_theme(theme) Class Public methods

find

Encoding.find(string) â enc Class Public methods Search the encoding with specified name. name should be a string. Encoding.find("US-ASCII") #=> #<Encoding:US-ASCII> Names which this method accept are encoding names and aliases including following special aliases âexternalâ default external encoding âinternalâ default internal encoding âlocaleâ locale encoding âfilesystemâ filesystem encoding An ArgumentError is raised when no encoding with name. Only Enco

key?

key?(key) Instance Public methods

to_feed

to_feed(rss, item) Instance Public methods

new

new(session, option={}) Class Public methods Create a new FileStore instance. This constructor is used internally by CGI::Session. The user does not generally need to call it directly. session is the session for which this instance is being created. The session id must only contain alphanumeric characters; automatically generated session ids observe this requirement. option is a hash of options for the initializer. The following options are recognised: tmpdir the directory to

getaddrinfo

Socket.getaddrinfo(nodename, servname[, family[, socktype[, protocol[, flags[, reverse_lookup]]]]]) => array Class Public methods Obtains address information for nodename:servname. family should be an address family such as: :INET, :INET6, :UNIX, etc. socktype should be a socket type such as: :STREAM, :DGRAM, :RAW, etc. protocol should be a protocol defined in the family, and defaults to 0 for the family. flags should be bitwise OR of Socket::AI_* constants. Socket.getaddrinfo(

[]

Hash[ key, value, ... ] â new_hashHash[ [ [key, value], ... ] ] â new_hashHash[ object ] â new_hash Class Public methods Creates a new hash populated with the given objects. Equivalent to the literal { key => value, ... }. In the first form, keys and values occur in pairs, so there must be an even number of arguments. The second and third form take a single argument which is either an array of key-value pairs or an object convertible to a hash. Hash["

crypt

str.crypt(salt_str) â new_str Instance Public methods Applies a one-way cryptographic hash to str by invoking the standard library function crypt(3) with the given salt string. While the format and the result are system and implementation dependent, using a salt matching the regular expression \A[a-zA-Z0-9./]{2} should be valid and safe on any platform, in which only the first two characters are significant. This method is for use in system specific scripts, so if you want a cro

parse_unicode_data

parse_unicode_data(file) Instance Public methods

use_renderers

use_renderers(*args) Instance Public methods Also aliased as: use_renderer