Class: String ( Ruby 2.1.3) - Ruby -Doc.orgA String object holds and manipulates an arbitrary sequence of bytes, typically
representing characters. String objects may be created using String ::new or as
Class: Object ( Ruby 2.1.3) - Ruby -Doc.orgYou can use __send__ if the name send clashes with an existing method in obj.
When the method is identified by a string, the string is ...
Class: Integer ( Ruby 2.1.3) - Ruby -Doc.orgIterates the given block, passing decreasing values from int down to and
including limit . If no block is given, an Enumerator is returned instead. 5.downto(
1) { |n| ... IntegerAs int is already an Integer, all these methods simply return the ...More results from ruby-doc.org »
Splits str using the supplied parameter as the record separator ( $/ by default),
passing each substring in turn to the supplied block. If a zero-length record ... ::new - ::try_convert - #% - #*
Ruby - Doc .org: Documenting the Ruby LanguageFast and searchable Ruby documentation for core, standard libraries, and
rubygems. Available in both RDoc and Yard format. Plus, links to tutorials, guides
, ... Ruby 1.9.3 - Ruby 2.0.0 - Core 2.1.0 - Core
Class: Hash ( Ruby 2.1.3) - Ruby -Doc.orgA Hash is a dictionary-like collection of unique keys and their values. Also called
associative arrays, they are similar to Arrays, but where an Array uses integers
Class: Array ( Ruby 2.1.3) - Ruby -Doc.orgIn either case, the elements of the array must be monotone (or sorted ) with
respect to the block. In find-minimum mode (this is a good choice for typical use
case), ... ::[] - ::new - ::try_convert - #&
Module: Kernel ( Ruby 2.1.3) - Ruby -Doc.orgAs of Ruby 1.8, converting nil generates a TypeError . ..... In order to execute the
command, one of the exec(2) system calls are used, so the running command ... #Array - #Complex - #Float - #Hash
Class: Regexp ( Ruby 1.9.3) - Ruby -Doc.org/[[:word:]]/ - A character in one of the following Unicode general categories Letter,
Mark, ... A greedy metacharacter can be made lazy by following it with ?
Fast and searchable Ruby documentation for core, standard libraries, and
rubygems. Available in both RDoc and Yard format. Plus, links to tutorials, guides
,
Class: Time ( Ruby 2.1.2) - Ruby -Doc.orgCreates a new Time object with the value given by time , the given number of
seconds_with_frac , or seconds and microseconds_with_frac since the Epoch. TimeTime is an abstraction of dates and times. Time is stored internally ...Time (Ruby 1.9.3)Time is an abstraction of dates and times. Time is stored internally ...More results from ruby-doc.org »
Class: Array ( Ruby 2.1.2) - Ruby -Doc.orgArray indexing starts at 0, as in C or Java. A negative index is assumed to be
relative to the end of the array ---that is, an index of -1 indicates the last element of
Class: PStore (Ruby 2.1.2) - Ruby-Doc.orgPStore implements a file based persistence mechanism based on a Hash. User
code can store hierarchies of Ruby objects (values) into the data store file by ...
Class: String ( Ruby 2.0.0) - Ruby -Doc.orgBecause of aliasing issues, users of strings should be aware of the methods that
...... the string is split into paragraphs delimited by multiple successive newlines. ::new - ::try_convert - #% - #*
Class: File ( Ruby 1.9.3) - Ruby -Doc.orgA File is an abstraction of any file object accessible by the program and is closely
associated with class IO File includes the methods of module FileTest as class ... ::absolute_path - ::atime - ::basename - ::blockdev?
Arrays are ordered, integer-indexed collections of any object. Array indexing
starts at 0, as in C or Java. A negative index is assumed to be relative to the end
of ... ArrayArray indexing starts at 0, as in C or Java. A negative index is ...More results from ruby-doc.org »
Class: Regexp ( Ruby 2.1.1) - Ruby -Doc.orgis Ruby's basic pattern-matching operator. When one operand is a regular
expression and the other is a string then the regular expression is used as a
pattern to ... ::compile - ::escape - ::last_match - ::new
Module: Marshal (Ruby 1.9.3) - Ruby-Doc.orgMarshal . The marshaling library converts collections of Ruby objects into a byte
stream, allowing them to be stored outside the currently active script. This data ...
Class: File ( Ruby 2.1.2) - Ruby-Doc.orgA File is an abstraction of any file object accessible by the program and is closely
associated with class IO File includes the methods of module FileTest as class ... FileA File is an abstraction of any file object accessible by the ...More results from ruby-doc.org »
Class: Date ( Ruby 2.1.1) - Ruby -Doc.orgtoday ([start= Date ::ITALY]) → date click to toggle source. today #=> #. Creates a
date object denoting the present day. static VALUE ... ::_httpdate - ::_iso8601 - ::_jisx0301 - ::_parse
Array indexing starts at 0, as in C or Java. A negative index is assumed to be
relative to the end of the array ---that is, an index of -1 indicates the last element of
... ArrayArray indexing starts at 0, as in C or Java. A negative index is ...More results from ruby-doc.org »
rename (old_name, new_name) → 0 click to toggle source. Renames the given
file to the new name. Raises a SystemCallError if the file ... ::absolute_path - ::atime - ::basename - ::blockdev?
Class: Dir ( Ruby 2.1.2) - Ruby -Doc.orgObjects of class Dir are directory streams representing directories in the
underlying file system. They provide a variety of ways to list directories and their
contents ... ::[] - ::chdir - ::chroot - ::delete
Module: URI ( Ruby 1.9.3) - Ruby -Doc.orgCreates one of the URI's subclasses instance from the string. ... Usage¶ ↑.
require 'uri' uri = URI . parse ("
Module: Signal ( Ruby 2.1.2) - Ruby -Doc.orgtrap ( signal , command ) → obj click to toggle source. trap ( signal ) {| | block } →
obj. Specifies the handling of signals . The first parameter is a ...
Class: Net :: SMTP ( Ruby 2.0.0) - Ruby-Doc.orgThis library provides functionality to send internet mail via SMTP , the Simple Mail
... or TMail or search for alternatives in RubyGems .org or The Ruby Toolbox. ::default_port - ::default_ssl_context - ::default_ssl_port - ::default_submission_port
Class: Date ( Ruby 2.1.1) - Ruby-Doc.orgThe default value is Date ::ITALY (2299161=1582-10-15). See also sample/cal.rb.
$ ruby sample/cal.rb -c it 10 1582 October 1582 S M Tu W Th F S 1 2 3 4 15 ... ::_httpdate - ::_iso8601 - ::_jisx0301 - ::_parse
Class: Test::Unit:: TestSuite ( Ruby 1.8.7) - Ruby -Doc.orgClass : Test::Unit:: TestSuite - Ruby 1.8.7. ... Note: It is easy to confuse a TestSuite
instance with something that has a static suite method; I know because I have ...
Class: Net :: HTTP ( Ruby 2.1.1) - Ruby-Doc.orgThe Net :: HTTP methods in the following section do not persist connections. They
are not recommended if you are performing many HTTP requests. ::Proxy - ::default_port - ::get - ::get_print
Class: Net:: SMTP ( Ruby 2.0.0) - Ruby -Doc.orgYou must open a connection to an SMTP server before sending messages. The
first argument is the address of your SMTP server , and the second argument is ...
Class : Time ( Ruby 2.1.1) - Ruby -Doc.orgTime is stored internally as the number of seconds with fraction since the Epoch,
January 1, 1970 00:00 UTC. Also see the library module Date. The Time class ... ::at - ::gm - ::local - ::mktime
Class : Array - Ruby 2.1.2. ... A new array can be created by using the literal
constructor [] . .... To retrieve and at the same time remove the first item, use shift : ::[] - ::new - ::try_convert - #&
Module: JSON ( Ruby 2.0.0) - Ruby -Doc.orgparse !(source, opts = {}) click to toggle source. Parse the JSON document source
into a Ruby data structure and return it. The bang ...
Class: ERB ( Ruby 2.1.3) - Ruby -Doc.orgAn ERB object works by building a chunk of Ruby code that will output the ...
filename = 'example. rhtml ' # 'arg1' and 'arg2' are used in example. rhtml erb ... ::new - ::version - #def_class - #def_method
Class: Net:: HTTP ( Ruby 2.1.3) - Ruby -Doc.orgrequest (req, body = nil) click to toggle source. Sends an HTTPRequest object req
to the HTTP server. If req is a Net:: HTTP ::Post or ... ::Proxy - ::default_port - ::get - ::get_print
Class: Tempfile (Ruby 1.9.3) - Ruby-Doc.orgA utility class for managing temporary files. When you create a Tempfile object, it
will create a temporary file with a unique filename. A Tempfile objects behaves ...
Class: WEBrick ::HTTPAuth::BasicAuth (Ruby 1.9.3) - Ruby-Doc.orgClass : WEBrick ::HTTPAuth::BasicAuth - Ruby 1.9.3. ... Here is an example of
how to set up a BasicAuth: ... Used by UserDB to create a basic password entry.
Class: Curses ::Window (Ruby 2.0.0) - Ruby-Doc.orgContruct a new Curses ::Window with constraints of height lines, width columns,
begin at top line, and begin left most column. A new window using full screen is ... ::new - #<< - #addch - #addstr
Class: WEBrick ::HTTPServer (Ruby 2.0.0)Local address for the server to bind to. :DocumentRoot. Root path to serve files
from. :DocumentRootOptions. Options for the default HTTPServlet::FileHandler. ::new - #access_log - #do_OPTIONS - #lookup_server
A utility class for managing temporary files. When you create a Tempfile object, it
will create a temporary file with a unique filename. A Tempfile objects behaves ... ::new - #close - #close! - #delete
Class: Float ( Ruby 2.1.2) - Ruby -Doc.orgThe largest possible integer in a double-precision floating point number. Usually
defaults to 1.7976931348623157e+308. MAX_10_EXP. The largest positive ...
Class: Hash (Ruby 2.1.2) - Ruby-Doc.orgkeys → array click to toggle source. Returns a new array populated with the keys
from this hash . See also Hash #values . h = { "a" => 100 ...
jquery. wymeditor .js - Ruby-Doc.orgCLASS_TITLE - A string replaced by a class item 's title. ..... //load subclass -
browser specific //unsupported browsers: do nothing if (jQuery.browser.msie) {
var ...
Class: DateTime ( Ruby 1.9.3) - Ruby -Doc.orgParses the given representation of date and time with the given template, and .....
minimum field width, optional modifier and a conversion specifier as follows.
Class: String (Ruby 1.9.3) - Ruby-Doc.orgA String object holds and manipulates an arbitrary sequence of bytes, typically
representing characters. String objects may be created using String ::new or as ... ::new - ::try_convert - #% - #*
Class: Net:: HTTP ( Ruby 2.1.1) - Ruby -Doc.orgget (path, initheader = {}, dest = nil) click to toggle source. Retrieves data from
path on the connected-to host which may be an absolute path ...
Module: Test:: Unit ( Ruby 1.8.7) - Ruby -Doc.orgEnter Test::Unit, a framework for unit testing in Ruby , helping you to design,
debug and evaluate your code by making it easy to write and have tests for it.
Class: File ( Ruby 2.1.2) - Ruby -Doc.orgThe only change that can be made is to make the file read-only, which is reported
as ..... Matches all files that have c in them (including at the beginning or end).
Class: Hash ( Ruby 1.9.3) - Ruby -Doc.orgHashes enumerate their values in the order that the corresponding keys were
inserted. Hashes have a default value that is returned when accessing keys that ...
Module: Enumerable ( Ruby 2.1.1) - Ruby -Doc.orgminmax → [ min , max ] click to toggle source. minmax { |a, b| block } → [ min , max ].
Returns two elements array which contains the ...
Module: Open3 ( Ruby 1.9.3) - Ruby -Doc.org:: pipeline starts a list of commands as a pipeline . It waits the finish of the ... If it is
an array, the elements are passed to Process .spawn.
Fast and searchable Ruby documentation for core, standard libraries, and
rubygems. Available in both RDoc and Yard format. Plus, links to tutorials, guides
, ...
Module: Forwardable ( Ruby 1.9.3) - Ruby -Doc.orgThe Forwardable module provides delegation of specified methods to a
designated object, using the methods def_delegator and def_delegators. For
example ...
Class: PStore ( Ruby 1.9.2) - Ruby -Doc.orgPStore implements a file based persistence mechanism based on a Hash. ...
Behind the scenes, Ruby objects are stored to the data store file with Marshal.
Class: Net::Telnet (Ruby 1.9.3) - Ruby-Doc.orgThe equivalent is done by creating a Net::Telnet class with the Host option set to
... host , calling login() with your user and password, issuing one or more cmd () ...
Class : Method ( Ruby 2.1.3) - Ruby -Doc.orgTwo 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.
Module: IRB ( Ruby 2.0.0) - Ruby -Doc.orgIRB stands for “interactive ruby ” and is a tool to interactively execute ruby
expressions ... In order to customize the prompt, you can change the following
Hash:
A Hash is a dictionary-like collection of unique keys and their values. Also called
associative arrays , they are similar to Arrays , but where an Array uses integers ...
Class: Rake :: Task (Ruby 1.9.3) - Ruby-Doc.orgA Task is the basic unit of work in a Rakefile. Tasks have associated actions (
possibly more than one) and a list of prerequisites. When invoked, a task will first
...
Module: IRB ( Ruby 2.0.0) - Ruby-Doc.orgIRB stands for “interactive ruby ” and is a tool to interactively execute ruby
expressions read from the standard input. The irb command from your shell will
start ...
Module: Kernel ( Ruby 2.1.2) - Ruby -Doc.orgReturns arg converted to a float. Numeric types are converted directly, the rest
are converted using arg.to_f. As of Ruby 1.8, converting nil generates a
TypeError ...
Class: RDoc::Generator:: CHM ( Ruby 1.9.1) - Ruby -Doc.orgThe contents is a list of all files and modules. For each we include as sub-entries
the list of methods they contain. As we build the contents we also build an index ...
Class: Integer ( Ruby 2.1.2) - Ruby -Doc.orgtimes {|i| block } → self click to toggle source. times → an_enumerator. Iterates
the given block int times , passing in values from zero to int ...