qrst

qrst(*args) Instance Public methods

new

new(*args) Class Public methods

eql?

meth == other_meth â true or false Instance Public methods Two method objects are equal if they are bound to the same object and refer to the same method definition and their owners are the same class or module.

encoding_convert_to

encoding_convert_to(str, enc=None) Class Public methods Alias for: encoding_convertto

auto_discovery_link_tag

auto_discovery_link_tag(type = :rss, url_options = {}, tag_options = {}) Instance Public methods Returns a link tag that browsers and feed readers can use to auto-detect an RSS or Atom feed. The type can either be :rss (default) or :atom. Control the link options in url_for format using the url_options. You can modify the LINK tag itself in tag_options. Options :rel - Specify the relation of this link, defaults to âalternateâ :type - Override the auto-generated mime type :ti

family_addrinfo

family_addrinfo(*args) Instance Public methods creates an Addrinfo object from the arguments. The arguments are interpreted as similar to self. Addrinfo.tcp("0.0.0.0", 4649).family_addrinfo("www.ruby-lang.org", 80) #=> #<Addrinfo: 221.186.184.68:80 TCP (www.ruby-lang.org:80)> Addrinfo.unix("/tmp/sock").family_addrinfo("/tmp/sock2") #=> #<Addrinfo: /tmp/sock2 SOCK_STREAM>

new

new(host, remote_dir, local_dir) Class Public methods

coerce

coerce(other) Instance Public methods The coerce method provides support for Ruby type coercion. This coercion mechanism is used by Ruby to handle mixed-type numeric operations: it is intended to find a compatible common type between the two operands of the operator. See also Numeric#coerce.

**

big ** exponent â numeric Instance Public methods Raises big to the exponent power (which may be an integer, float, or anything that will coerce to a number). The result may be a Fixnum, Bignum, or Float 123456789 ** 2 #=> 15241578750190521 123456789 ** 1.2 #=> 5126464716.09932 123456789 ** -2 #=> 6.5610001194102e-17 power!

isdst

time.isdst â true or false Instance Public methods Returns true if time occurs during Daylight Saving Time in its time zone. # CST6CDT: Time.local(2000, 1, 1).zone #=> "CST" Time.local(2000, 1, 1).isdst #=> false Time.local(2000, 1, 1).dst? #=> false Time.local(2000, 7, 1).zone #=> "CDT" Time.local(2000, 7, 1).isdst #=> true Time.local(2000, 7, 1).dst? #=> true # Asia/Tokyo: Time.local(2000, 1, 1).zone #=> "JST" Time.local(20