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:

    Our rural village life was a purifying, uplifting influence that fortified us against the later impacts of urbanization; Church and State, because they were separated and friendly, had spiritual and ethical standards that were mutually enriching; freedom and discipline, individualism and collectivity, nature and nurture in their interaction promised an ever stronger democracy. I have no illusions that those simpler, happier days can be resurrected.
    Agnes E. Meyer (1887–1970)

    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)

    Those thoughts are truth which guide us to beneficial interaction with sensible particulars as they occur, whether they copy these in advance or not.
    William James (1842–1910)