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:

    UG [universal grammar] may be regarded as a characterization of the genetically determined language faculty. One may think of this faculty as a ‘language acquisition device,’ an innate component of the human mind that yields a particular language through interaction with present experience, a device that converts experience into a system of knowledge attained: knowledge of one or another language.
    Noam Chomsky (b. 1928)

    Recent studies that have investigated maternal satisfaction have found this to be a better prediction of mother-child interaction than work status alone. More important for the overall quality of interaction with their children than simply whether the mother works or not, these studies suggest, is how satisfied the mother is with her role as worker or homemaker. Satisfied women are consistently more warm, involved, playful, stimulating and effective with their children than unsatisfied women.
    Alison Clarke-Stewart (20th century)

    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)