build_index

build_index() Instance Public methods Builds the JSON index as a Hash.

classicAnchor

classicAnchor() Class Public methods accessor

encrypted

encrypted() Instance Public methods Returns a jar that'll automatically encrypt cookie values before sending them to the client and will decrypt them for read. If the cookie was tampered with by the user (or a 3rd party), nil will be returned. If secrets.secret_key_base and secrets.secret_token (deprecated) are both set, legacy cookies signed with the old key generator will be transparently upgraded. This jar requires that you set a suitable secret for the verification on your app'

out

out(key, obj) Instance Public methods

find_above

find_above(target) Instance Public methods

_set_global_var

_set_global_var(p1, p2) Instance Public methods

actual_hash 2

actual_hash(option=nil) Instance Public methods

e

e(*args) Instance Public methods e(*args): execute command. returns String (e is for exec or eval) *args: command arguments

each_codepoint

str.each_codepoint {|integer| block } â strstr.each_codepoint â an_enumerator Instance Public methods Passes the Integer ordinal of each character in str, also known as a codepoint when applied to Unicode strings to the given block. If no block is given, an enumerator is returned instead. "hello\u0639".each_codepoint {|c| print c, ' ' } produces: 104 101 108 108 111 1593

unix_server_socket

unix_server_socket(path) Class Public methods creates a UNIX server socket on path If no block given, it returns a listening socket. If a block is given, it is called with the socket and the block value is returned. When the block exits, the socket is closed and the socket file is removed. socket = Socket.unix_server_socket("/tmp/s") p socket #=> #<Socket:fd 3> p socket.local_address #=> #<Addrinfo: /tmp/s SOCK_STREAM> Socket.unix_server_socke