prime?

bn.prime? => true | falsebn.prime?(checks) => true | false Instance Public methods Parameters checks - integer

pattern

pattern() Class Public methods

sendmsg

basicsocket.sendmsg(mesg, flags=0, dest_sockaddr=nil, *controls) => numbytes_sent Instance Public methods sendmsg sends a message using sendmsg(2) system call in blocking manner. mesg is a string to send. flags is bitwise OR of MSG_* constants such as Socket::MSG_OOB. dest_sockaddr is a destination socket address for connection-less socket. It should be a sockaddr such as a result of Socket.sockaddr_in. An Addrinfo object can be used too. controls is a list of ancillary data. T

exception 2

exc.exception(string) â an_exception or exc Instance Public methods With no argument, or if the argument is the same as the receiver, return the receiver. Otherwise, create a new exception object of the same class as the receiver, but with a message equal to string.to_str.

middle_of_day

middle_of_day() Instance Public methods Returns a new DateTime representing the middle of the day (12:00) midday noon at_midday at_noon at_middle_of_day

bar_cget_strict

bar_cget_strict(id, option) Instance Public methods

delete

delete(first, last=None) Instance Public methods

axis_use

axis_use(id, target=nil) Instance Public methods

to_query

to_query(namespace = nil) Instance Public methods Returns a string representation of the receiver suitable for use as a URL query string: {name: 'David', nationality: 'Danish'}.to_query # => "name=David&nationality=Danish" An optional namespace can be passed to enclose key names: {name: 'David', nationality: 'Danish'}.to_query('user') # => "user%5Bname%5D=David&user%5Bnationality%5D=Danish" The string pairs âkey=valueâ that conform the query string are sorted lexico

standard_exception_handling

standard_exception_handling() Instance Public methods Provide standard exception handling for the given block.