Ruby (programming Language) - Interaction

Interaction

See also: Interactive Ruby Shell

The Ruby official distribution also includes "irb", an interactive command-line interpreter which can be used to test code quickly. The following code fragment represents a sample session using irb:

$ irb irb(main):001:0> puts "Hello, World" Hello, World => nil irb(main):002:0> 1+2 => 3

Read more about this topic:  Ruby (programming Language)

Famous quotes containing the word interaction:

    The act of putting into your mouth what the earth has grown is perhaps your most direct interaction with the earth.
    Frances Moore Lappé (b. 1944)

    Here is this vast, savage, howling mother of ours, Nature, lying all around, with such beauty, and such affection for her children, as the leopard; and yet we are so early weaned from her breast to society, to that culture which is exclusively an interaction of man on man,—a sort of breeding in and in, which produces at most a merely English nobility, a civilization destined to have a speedy limit.
    Henry David Thoreau (1817–1862)

    Just because multiples can turn to each other for companionship, and at times for comfort, don’t be fooled into thinking you’re not still vital to them. Don’t let or make multiples be parents as well as siblings to each other. . . . Parent interaction with infants and young children has everything to do with how those children develop on every level, including how they develop their identities.
    Pamela Patrick Novotny (20th century)